Search Results

Search: Posts Made By: aikibudo
4,017
Posted By aikibudo
Here is a short script to give everything you...
Here is a short script to give everything you want. Just run the script and it will list ALL users with multiple sessions and the associated PIDS. Let me know if it helps.
#!/bin/ksh

rep=$1...
4,017
Posted By aikibudo
Lets try this one instead. Had one too many while...
Lets try this one instead. Had one too many while loops in the first one.

#!/bin/ksh

typeset -i cnt
who | sort |
while read lin
do
usrnme=$(echo "$lin" | awk '{print $1}')
...
4,017
Posted By aikibudo
Here is a little script that will list the who...
Here is a little script that will list the who output for users that have multiple sessions as well as the associated pids for that session. Let me know if this was helpful to you.

#!/bin/ksh
...
Showing results 1 to 3 of 3

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