Search Results

Search: Posts Made By: messi777
1,262
Posted By vgersh99
With some limitations..... #!/bin/ksh # ...
With some limitations.....

#!/bin/ksh
#

thisFILE="$(whence ${0})"
progName="${0##*/}"

myPID="$$"

FUSERout=$(fuser ${thisFILE} 2>/dev/null)
typeset -i numProc=$(echo...
1,262
Posted By jim mcnamara
Your question confuses me a little. But the...
Your question confuses me a little. But the short answer is:

Create a lock file. This file has one single entry, the pid of the process running your script. If the file is "blank" then no...
3,315
Posted By h@foorsa.biz
To see every process on the system using standard...
To see every process on the system using standard syntax:
ps -e
ps -ef
ps -eF
ps -ely

To see every process on the system using BSD syntax:
ps ax
ps axu

To print a process tree:
ps -ejH...
3,315
Posted By jayan_jay
ps will display only your terminal processes...
ps will display only your terminal processes currently running ..

If you go with -ef option then will display all. Hope it clears ..


$ tty
/dev/pts/34
$ ps
PID TTY TIME CMD
...
9,518
Posted By Scott
It returns any line which starts (^) with four...
It returns any line which starts (^) with four consecutive numbers ([0-9][0-....]) in file messi which is in your current directory (.) (that is, ./messi).

As this isn't an HP-UX-specific...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 10:53 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy