anyone have a script that emulates proctree (5.2AIX)


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users anyone have a script that emulates proctree (5.2AIX)
# 1  
Old 06-02-2005
anyone have a script that emulates proctree (5.2AIX)

Anyone have a script that emulates 5.2AIX proctree command?
I have multiple platforms of AIX and I need to produce a proctree for versions of AIX that do not have proctree

thanks!
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to block first bash script until second bash script script launches web server/site?

I'm new to utilities like socat and netcat and I'm not clear if they will do what I need. I have a "compileDeployStartWebServer.sh" script and a "StartBrowser.sh" script that are started by emacs/elisp at the same time in two different processes. I'm using Cygwin bash on Windows 10. My... (3 Replies)
Discussion started by: siegfried
3 Replies

2. Shell Programming and Scripting

Shell script works fine as a standalone script but not as part of a bigger script

Hello all, I am facing a weird issue while executing a code below - #!/bin/bash cd /wload/baot/home/baotasa0/sandboxes_finance/ext_ukba_bde/pset sh UKBA_publish.sh UKBA 28082015 3 if then echo "Param file conversion for all the areas are completed, please check in your home directory"... (2 Replies)
Discussion started by: ektubbe
2 Replies

3. UNIX for Dummies Questions & Answers

Calling a script from master script to get value from called script

I am trying to call a script(callingscript.sh) from a master script(masterscript.sh) to get string type value from calling script to master script. I have used scripts mentioned below. #masterscript.sh ./callingscript.sh echo $fileExist #callingscript.sh echo "The script is called"... (2 Replies)
Discussion started by: Raj Roy
2 Replies

4. Shell Programming and Scripting

Script will keep checking running status of another script and also restart called script at night

I am using blow script :-- #!/bin/bash FIND=$(ps -elf | grep "snmp_trap.sh" | grep -v grep) #check snmp_trap.sh is running or not if then # echo "process found" exit 0; else echo "process not found" exec /home/Ketan_r /snmp_trap.sh 2>&1 & disown -h ... (1 Reply)
Discussion started by: ketanraut
1 Replies

5. Shell Programming and Scripting

How to write an awk script that emulates the wc command

How to write an awk script that emulates the wc command Thank you very much!:) (3 Replies)
Discussion started by: vcnvcn
3 Replies

6. Shell Programming and Scripting

create a shell script that calls another script and and an awk script

Hi guys I have a shell script that executes sql statemets and sends the output to a file.the script takes in parameters executes sql and sends the result to an output file. #!/bin/sh echo " $2 $3 $4 $5 $6 $7 isql -w400 -U$2 -S$5 -P$3 << xxx use $4 go print"**Changes to the table... (0 Replies)
Discussion started by: magikminox
0 Replies
Login or Register to Ask a Question
DEFINE_SYSLOG_VARIABLES(3)						 1						DEFINE_SYSLOG_VARIABLES(3)

define_syslog_variables - Initializes all syslog related variables

SYNOPSIS
void define_syslog_variables (void ) DESCRIPTION
Initializes all variables used in the syslog functions. RETURN VALUES
No value is returned. Syslog variables +--------------+-------------------------------+---+---+ | Variable | | | | | | | | | | | Constant equal | | | | | | | | | | Meaning | | | | | | | | | | Notes | | | | | | | | +--------------+-------------------------------+---+---+ | $LOG_EMERG | | | | | | | | | | | | | | | | LOG_EMERG | | | | | | | | | | System is unusable | | | | | | | | | | | | | | | T{ $LOG_ALERT | | | | | | | | | | | | | | | LOG_ALERT | | | | | | | | | | Immediate action required | | | | | | | | | | | | | | | T{ $LOG_CRIT | | | | | | | | | | | | | | | LOG_CRIT | | | | | | | | | | Critical conditions | | | | | | | | | | | | | | | T{ $LOG_ERR | | | | | | | | | | | | | | | LOG_ERR | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_WARNING | | | | | | | | | | | | | | | LOG_WARNING | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_NOTICE | | | | | | | | | | | | | | | LOG_NOTICE | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_INFO | | | | | | | | | | | | | | | LOG_INFO | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_DEBUG | | | | | | | | | | | | | | | LOG_DEBUG | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_KERN | | | | | | | | | | | | | | | LOG_KERN | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_USER | | | | | | | | | | | | | | | LOG_USER | | | | | | | | | | Genetic user level | | | | | | | | | | | | | | | T{ $LOG_MAIL | | | | | | | | | | | | | | | LOG_MAIL | | | | | | | | | | Log to email | | | | | | | | | | | | | | | T{ $LOG_DAEMON | | | | | | | | | | | | | | | LOG_DAEMON | | | | | | | | | | Other system daemons | | | | | | | | | | | | | | | T{ $LOG_AUTH | | | | | | | | | | | | | | | LOG_AUTH | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_SYSLOG | | | | | | | | | | | | | | | LOG_SYSLOG | | | | | | | | | | | | | | | |T{ Not available on Netware | | | | | | | | | $LOG_LPR | | | | | | | | | | | | | | | | LOG_LPR | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_NEWS | | | | | | | | | | | | | | | LOG_NEWS | | | | | | | | | | Usenet new | | | | | | | | | | Not available on HP-UX | | | | | | | | | $LOG_CRON | | | | | | | | | | | | | | | | LOG_CRON | | | | | | | | | | | | | | | |T{ Not available on all | | | | | platforms | | | | | | | | |$LOG_AUTHPRIV | | | | | | | | | | | | | | | | LOG_AUTHPRIV | | | | | | | | | | | | | | | |T{ Not available on AIX | | | | | | | | | $LOG_LOCAL0 | | | | | | | | | | | | | | | | LOG_LOCAL0 | | | | | | | | | | | | | | | |T{ Not available on Windows | | | | | and Netware | | | | | | | | | $LOG_LOCAL1 | | | | | | | | | | | | | | | | LOG_LOCAL1 | | | | | | | | | | | | | | | |T{ Not available on Windows | | | | | and Netware | | | | | | | | | $LOG_LOCAL2 | | | | | | | | | | | | | | | | LOG_LOCAL2 | | | | | | | | | | | | | | | |T{ Not available on Windows | | | | | and Netware | | | | | | | | | $LOG_LOCAL3 | | | | | | | | | | | | | | | | LOG_LOCAL3 | | | | | | | | | | | | | | | |T{ Not available on Windows | | | | | and Netware | | | | | | | | | $LOG_LOCAL4 | | | | | | | | | | | | | | | | LOG_LOCAL4 | | | | | | | | | | | | | | | |T{ Not available on Windows | | | | | and Netware | | | | | | | | | $LOG_LOCAL5 | | | | | | | | | | | | | | | | LOG_LOCAL5 | | | | | | | | | | | | | | | |T{ Not available on Windows | | | | | and Netware | | | | | | | | | $LOG_LOCAL6 | | | | | | | | | | | | | | | | LOG_LOCAL6 | | | | | | | | | | | | | | | |T{ Not available on Windows | | | | | and Netware | | | | | | | | | $LOG_LOCAL7 | | | | | | | | | | | | | | | | LOG_LOCAL7 | | | | | | | | | | | | | | | |T{ Not available on Windows | | | | | and Netware | | | | | | | | | $LOG_PID | | | | | | | | | | | | | | | | LOG_PID | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_CONS | | | | | | | | | | | | | | | LOG_CONS | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_ODELAY | | | | | | | | | | | | | | | LOG_ODELAY | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_NDELAY | | | | | | | | | | | | | | | LOG_NDELAY | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_NOWAIT | | | | | | | | | | | | | | | LOG_NOWAIT | | | | | | | | | | | | | | | |T{ Not available on BeOS | | | | | | | | | $LOG_PERROR | | | | | | | | | | | | | | | | LOG_PERROR | | | | | | | | | | | | | | | |T{ Not available on AIX | | | | | | | | +--------------+-------------------------------+---+---+ Warning This function has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0. EXAMPLES
Example #1 define_syslog_variables(3) example <?php // Check if syslog variables already is defined if(!get_cfg_var('define_syslog_variables')) { define_syslog_variables(); } // Open the log openlog('', $LOG_ODELAY, $LOG_MAIL | $LOG_USER); // Continue script ... ?> CHANGELOG
+--------+---------------------------------------------------+ |Version | | | | | | | Description | | | | +--------+---------------------------------------------------+ | 5.4.0 | | | | | | | This function was removed from PHP. | | | | | 5.3.0 | | | | | | | This function now throws an E_DEPRECATED notice. | | | | +--------+---------------------------------------------------+ SEE ALSO
openlog(3), syslog(3), closelog(3). PHP Documentation Group DEFINE_SYSLOG_VARIABLES(3)