Since all my Linux guests IPL 02xx, I run
   pipe lnxusers | count lines | cons
where LNXUSERS REXX looks like:

/* LNXUSERS REXX
 
   Return list of logged on Linux users.
 
*/
 
'CALLPIPE(name LNXUSERS endchar ?)|',
   'CP Q N |',
   'SPLIT , |',
   'STRIP |',
   'CHOP 8 |',
   'SORT 1.8 |',
   'SPECS /IND USER/ 1 1.8 NW |',
   'CP |',
'F: FIND USERID=|',
'J: JUXTAPOSE |',
   'SPECS 8.8 1 |',
   '*:',
'?',
'F: |',
   'FIND IPLSYS=DEV_02|',
'J:'
 
exit 0


Mark Wheeler
http://www.linkedin.com/in/marklwheeler

_________________________________________________________________
Get your vacation photos on your phone!
http://windowsliveformobile.com/en-us/photos/default.aspx?&OCID=0809TL-HM
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to