Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: goBoating
  • Content: Threads
  • Order by date
  1. goBoating

    retrieve environment variables for an arbitrary process

    More of a Perl programmer than HP-UX Sys Admin. There are a few posts related to this, but, none of the answer work for me, yet. I am in the situation of determining security compliance for a number of machines. The rule set I must check includes checking the environment variables for...
  2. goBoating

    track down source of interference? package method works in one, not in another?

    Unfortunately, in a situation where I cannot post the full code. So, I have to stick to sanitized examples and philosophy. Windows 32bit perl running on Windows 2008 R2 (64bit). Nearly everything works, except.... #!perl use strict; use Win32::Lanman; use Data::Dumper; my $arrayRef = []...
  3. goBoating

    use a system lib with Perl?

    I need to get the 'raw' context associated with a given selinuxsecuritycontext for a file or pid. You don't need to know what that means except that the only way I can find to get that info is via the system lib 'context_range_get'. See "http://linux.die.net/man/3/context_range_get". How do...
  4. goBoating

    'Breaking a forum rule, here. I po

    'Breaking a forum rule, here. I posted this in the Linux Server section, but, it is getting no attention. So, please pardon my lack of internet fora social grace as I re-post it, here. I need to query the state(s) of the selinux booleans on a system. The 'getsebool' command appears to do...
  5. goBoating

    determine selinux boolean states?

    I need to query the state(s) of the selinux booleans on a system. The 'getsebool' command appears to do the trick. However, on all the machines I have access to, I can't find an example of a 'pending' status, which appears to be a valid state. I have plenty of examples of 'active/inactive'...
  6. goBoating

    How to wrap RPM output in XML?

    man rpm says that I can use the --queryformat with the :xml arg to wrap the output of rpm in XML. I cannot find an example of the syntax. Getting formats is pretty straight forward: >rpm -qa -qf "%{NAME}\n" But, how do I use the 'qf' functionality to tell it to wrap the output in XML, as it...
  7. goBoating

    Determine environment vars for a given PID on Mac OS X

    Is there no section of Mac OS X on Tek-Tips? There is a server version. Does it not make the grade to be in this section of TTs? Looked. Didn't see one. Anyway, here goes. On Mac OS X, for a given process ID, what is the best/most direct way to determine the environment variables (e.g...
  8. goBoating

    default protocol for a service running via xinetd

    Hello All, I'm trying to write a little code that determines the protocol being used by a given service that is running via xinetd. I first look in the /etc/xinetd.d/-serviceName- files for an explicitly configured protocol. If not found, I check the main xinetd.conf file. Frequently, there...
  9. goBoating

    Determine if installed Mac OS is Server or Workstation flavor...

    How can I tell if an installed Mac OS is a 'workstation' or 'server' flavor. We have a few Mac Minis that could be either. From what I can tell, the server version of the OS is identical to the workstation version with a few server admin tools and things like web servers added in. And...
  10. goBoating

    script strategy to list disks and partitions

    Hello All, Tried the search for this to no avail. I am writing a Perl application that must report disks and partitions on Solaris 8, 9, and 10. I am familiar with the 'format' command and it provides all the info I need. However, it expects someone to interact with it to move through the...
  11. goBoating

    include stand-alone libraries with perl code?

    Hello All, 'Working on a project that uses XML::LibXSLT. 'Creating a bundle with Activestate perlApp. We need our app to install and run on machines that may not have libxml2 and libxslt installed. Ergo, we want to compile OS specific versions of those libraries to be bundled with our...
  12. goBoating

    Track down 'Subroutine SomeSubName redefined...' warning

    'Working on an inherited object oriented Perl application. I can't post code, so I'll try to describe the situation. The application has about 70+ custom modules (classes). This application was developed on Windows and runs without complaint there. Recently, I've been tasked with making it...
  13. goBoating

    Windows OLE w/ MSXML

    hello all, I don't know whether to put this in the Perl section or the VB section. I am trying to validate XML on the Windows platforms using OLE to talk to the MSXML libs. The sequence is: 1 - create a schemaCache object. 2 - populate that schemaCache w/ the necessary schemata. 3 - create...
  14. goBoating

    remote imported schema are invalid - download and fix?

    Hello All, A quick search turned up nothing. I'm a Perl programmer working with XML. I am working on an app that creates a large detailed XML file and I need to generate a second format from that larger/detailed file. We're already using XSLTs to create concise versions of the larger report...
  15. goBoating

    Net::SSH::Perl - want to launch remote cmd and return

    Hello All, I have inherited 14 linux and 2 HPUX production level machines in a testing environment. I need to be able to log into each of the 16 machines, launch a process to run in the background, and then return immediately while the program runs. The program takes 30-45 minutes to run...
  16. goBoating

    Configure Xserver to startup with '-s' switch

    Hello All, I'm in a software testing chore and to perform the current test, I need to setup my Xserver to start with the '-s' switch. Right now, "ps -ef |grep 'X '" shows /usr/bin/X -br -nolisten tcp :0 vt7 -auth /var/run/xauth/A:0-2... I need it to contain '-s 3', like: /usr/bin/X -s 3 -br...
  17. goBoating

    Specify CPAN mirror?

    Hey Guys, I've used CPAN for years and come upon a question. I'm in a new job and am behind a proxy server. I need to add two entries (ftp and http) to that proxy server to let traffic through to install Perl modules. The problem is that I don't know how to tell the CPAN module to use a...
  18. goBoating

    fbackup to remote host/tape drive errors out...?

    Hello All, 'Long time member of the Perl and CGI fora with a new job that has more sys admin than Perl. I have two HP-UX 11.23 boxes. They are two boxes in a test lab and are not configured alike. The first, box1, has a tape, the second, box2, does not. I want to do the seemingly simple...
  19. goBoating

    backup to tape drive on remote host

    Hello All, I find myself in a new job. Yea! But, am moving from what used to be Perl programming and database work back into sys admin stuff. It has been a few years. I tried the search fxn to no avail. And, 'sorry if this stuff is terribly newbish. I have two HP Integrity rx2620 boxes...
  20. goBoating

    rhel4 root pass reset in vmware

    Hello all. New job. After getting laid off last month.....Yea! But, jumping into some stuff I've not done before. Also, while I wait for my new corporate IT to get me into this century, my best access to the web is via my PDA. We have a redhat el 4 machine running virtul in vmware and have...

Part and Inventory Search

Back
Top