Re: [newbie] Other Users Running?
- Original Message - From: Aron Smith [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 24, 2003 12:00 AM Subject: Re: [newbie] Other Users Running? On Tuesday 22 July 2003 11:13 pm, Cody Harris wrote: I know theres a command for this, but how to i get a list of all the logged in users and what they are running (and what term they are on). Thanks! -Cody Harris Linux Rox My Sox! Check out HCHS! http://vectec.net Proud to use Mandrake Linux 8.1 as a server. Not proud to use Windows as a primary server. Registered Linux user #315598 Registered Linux Computer #200951 Wrote on a Windoze Computer :( Ok I'll bite why wrote on a Win$ux computer ?? Why did i? I have to. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Other Users Running?
On Wednesday 23 Jul 2003 6:14 am, rikona wrote: Hello Aron, Tuesday, July 22, 2003, 9:38:17 PM, you wrote: AS Then do a man -woman (unknown command) ;-) We could use a bit of humor Not mine, and I have not tried them in Mandrake... The following are strange error messages you can get Unix to generate. % rm microsoft-ethics rm: microsoft-ethics nonexistent % ar m God ar: God does not exist % How would you rate SCO's incompetence? Unmatched . % [Where is Jimmy Hoffa? Missing ]. % ^How did the sex change^ operation go? Modifier failed. % If I had a ( for every $ Bill Gates spent, what would I have? Too many ('s. % make love Make: Don't know how to make love. Stop. % sleep with me bad character % got a light? No match. % man: why did you get a divorce? man:{sp 0}: Too many arguments. % ^What is saccharine? Bad substitute. % man woman No manual entry for woman. % %blow %blow: No such job. % (- (-: Command not found. % sh $ PATH=pretending! /usr/ucb/which sense no sense in pretending! $ drink bottle; opener bottle: cannot open opener: not found $ mkdir matter; cat matter matter: cannot create LOL - I'll be keeping this one Anne Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Other Users Running?
On Tuesday July 22 2003 10:13 pm, Cody Harris wrote: I know theres a command for this, but how to i get a list of all the logged in users and what they are running (and what term they are on). Using bash, simply type 'w' (w/o the quotes) EG, [tom /tom] $ w 11:13:22 up 17:07, 5 users, load average: 0.16, 0.22, 0.22 USER TTYLOGIN@ IDLE JCPU PCPU WHAT tom pts/0 Tue18 17:01m 0.00s 0.22s kdeinit: kwrited tom pts/1 09:241:42m 0.08s 0.05s /bin/bash tom :0Tue18 ?xdm? 1:00m 0.13s /bin/sh /usr/bin/startkde tom pts/3 09:43 11:05 2.17s 2.01s cdrecord -v -eject speed=4 dev=0,0 tom pts/4 11:130.00s 0.04s 0.01s w -- Tom Brinkman Corpus Christi, Texas Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Other Users Running?
On Wednesday 23 July 2003 11:14 am, Tom Brinkman wrote: Using bash, simply type 'w' (w/o the quotes) EG, [tom /tom] $ w 11:13:22 up 17:07, 5 users, load average: 0.16, 0.22, 0.22 USER TTYLOGIN@ IDLE JCPU PCPU WHAT tom pts/0 Tue18 17:01m 0.00s 0.22s kdeinit: kwrited tom pts/1 09:241:42m 0.08s 0.05s /bin/bash tom :0Tue18 ?xdm? 1:00m 0.13s /bin/sh /usr/bin/startkde tom pts/3 09:43 11:05 2.17s 2.01s cdrecord -v -eject speed=4 dev=0,0 tom pts/4 11:130.00s 0.04s 0.01s w Very interesting Tom. Question though, if I run $ w I get: 5:32pm up 31 days, 23:47, 6 users, load average: 0.03, 0.02, 0.00 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT chrispts/0- 5Jul03 17days 0.00s ? - chrispts/2- 5:32pm 0.00s 0.05s 0.01s w Only two entries for me are shown, however, 6 users are reported as with $ who: [EMAIL PROTECTED] chris]$ who chrispts/0Jul 5 18:45 chrispts/1Jul 16 19:42 chrispts/3Jul 19 16:16 chrispts/2Jul 23 17:32 chris:0 Jul 5 18:44 chrispts/4Jul 12 15:44 Whats the difference? I notice you uptime shows 5 users and 5 are reported with 'w'. Chris -- Regards Chris A 100% Microsoft free computer Registered Linux User 283774 http://counter.li.org 5:30pm up 31 days, 23:46, 6 users, load average: 0.16, 0.03, 0.01 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Other Users Running?
Chris wrote: On Wednesday 23 July 2003 11:14 am, Tom Brinkman wrote: Using bash, simply type 'w' (w/o the quotes) EG, [tom /tom] $ w 11:13:22 up 17:07, 5 users, load average: 0.16, 0.22, 0.22 USER TTYLOGIN@ IDLE JCPU PCPU WHAT tom pts/0 Tue18 17:01m 0.00s 0.22s kdeinit: kwrited tom pts/1 09:241:42m 0.08s 0.05s /bin/bash tom :0Tue18 ?xdm? 1:00m 0.13s /bin/sh /usr/bin/startkde tom pts/3 09:43 11:05 2.17s 2.01s cdrecord -v -eject speed=4 dev=0,0 tom pts/4 11:130.00s 0.04s 0.01s w Very interesting Tom. Question though, if I run $ w I get: 5:32pm up 31 days, 23:47, 6 users, load average: 0.03, 0.02, 0.00 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT chrispts/0- 5Jul03 17days 0.00s ? - chrispts/2- 5:32pm 0.00s 0.05s 0.01s w Only two entries for me are shown, however, 6 users are reported as with $ who: [EMAIL PROTECTED] chris]$ who chrispts/0Jul 5 18:45 chrispts/1Jul 16 19:42 chrispts/3Jul 19 16:16 chrispts/2Jul 23 17:32 chris:0 Jul 5 18:44 chrispts/4Jul 12 15:44 Whats the difference? I notice you uptime shows 5 users and 5 are reported with 'w'. Chris w doesn't show me any users. [EMAIL PROTECTED] brant]$ w 15:12:12 up 1 day, 2:34, 1 user, load average: 0.28, 0.25, 0.19 USER TTYLOGIN@ IDLE JCPU PCPU WHAT [EMAIL PROTECTED] brant]$ who brant:0 Jul 22 12:39 -- Brant Fitzsimmons [EMAIL PROTECTED] Liberty means responsibility. That is why most men dread it. -George Bernard Shaw, Man and Superman (1903) Maxims for Revolutionists Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Other Users Running?
On Wednesday July 23 2003 05:34 pm, Chris wrote: On Wednesday 23 July 2003 11:14 am, Tom Brinkman wrote: Using bash, simply type 'w' (w/o the quotes) EG, [tom /tom] $ w 11:13:22 up 17:07, 5 users, load average: 0.16, 0.22, 0.22 USER TTYLOGIN@ IDLE JCPU PCPU WHAT tom pts/0 Tue18 17:01m 0.00s 0.22s kdeinit: kwrited tom pts/1 09:241:42m 0.08s 0.05s /bin/bash tom :0Tue18 ?xdm? 1:00m 0.13s /bin/sh /usr/bin/startkde tom pts/3 09:43 11:05 2.17s 2.01s cdrecord -v -eject speed=4 dev=0,0 tom pts/4 11:130.00s 0.04s 0.01s w Very interesting Tom. Question though, if I run $ w I get: 5:32pm up 31 days, 23:47, 6 users, load average: 0.03, 0.02, 0.00 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT chrispts/0- 5Jul03 17days 0.00s ? - chrispts/2- 5:32pm 0.00s 0.05s 0.01s w Only two entries for me are shown, however, 6 users are reported as with $ who: [EMAIL PROTECTED] chris]$ who chrispts/0Jul 5 18:45 chrispts/1Jul 16 19:42 chrispts/3Jul 19 16:16 chrispts/2Jul 23 17:32 chris:0 Jul 5 18:44 chrispts/4Jul 12 15:44 Whats the difference? I notice you uptime shows 5 users and 5 are reported with 'w'. Chris I wasn't sure from your original question just what you were lookin for. 'w' shows the users processes in progress, which I thought you wanted. Look at mine above, I had kwrite open so I could compare md5sums to 92beta1.md5sums.asc from burned CDr's usin 'md5sum /dev/scd0'. I was d/l'd other 9.2 iso's, cdrecord was runnin to burn the 9.2 iso I had already d/l'd. In the meantime I was readin email (kmail), all while gqview was parading ladies full screen all desktops, and of course my DSL connection was up. I probly forgot somethin or other ;) As to pts/, you're understandin is probly as good as mine, try understandin this http://www.nsa.gov/selinux/doc/slinux/node60.html -- Tom Brinkman Corpus Christi, Texas Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Other Users Running?
On Wednesday 23 July 2003 08:24 pm, Tom Brinkman wrote: Whats the difference? I notice you uptime shows 5 users and 5 are reported with 'w'. Chris I wasn't sure from your original question just what you were lookin for. 'w' shows the users processes in progress, which I thought you wanted. Look at mine above, I had kwrite open so I could compare md5sums to 92beta1.md5sums.asc from burned CDr's usin 'md5sum /dev/scd0'. I was d/l'd other 9.2 iso's, cdrecord was runnin to burn the 9.2 iso I had already d/l'd. In the meantime I was readin email (kmail), all while gqview was parading ladies full screen all desktops, and of course my DSL connection was up. I probly forgot somethin or other ;) As to pts/, you're understandin is probly as good as mine, try understandin this Ok, I see now, only thing is mine doesn't show any processes in progress, not really worred about it, just whenever you or someone else puts out something to try on the cl I like to give it a try myself just to see if I get the same results or close. http://www.nsa.gov/selinux/doc/slinux/node60.html Sure, the above is as clear as mud to me :) Thanks Chris -- Regards Chris A 100% Microsoft free computer Registered Linux User 283774 http://counter.li.org 8:40pm up 32 days, 2:56, 6 users, load average: 0.02, 0.14, 0.13 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Other Users Running?
On Tuesday 22 July 2003 11:13 pm, Cody Harris wrote: I know theres a command for this, but how to i get a list of all the logged in users and what they are running (and what term they are on). Thanks! -Cody Harris Linux Rox My Sox! Check out HCHS! http://vectec.net Proud to use Mandrake Linux 8.1 as a server. Not proud to use Windows as a primary server. Registered Linux user #315598 Registered Linux Computer #200951 Wrote on a Windoze Computer :( Ok I'll bite why wrote on a Win$ux computer ?? Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Other Users Running?
On Wed, 2003-07-23 at 13:13, Cody Harris wrote: I know theres a command for this, but how to i get a list of all the logged in users and what they are running (and what term they are on). Thanks! Open a term, and type: who Another thing to check out is what who can do for you. Do a man who - it's a great utility. -- Wed Jul 23 13:25:00 EST 2003 13:25:00 up 9 days, 5:28, 2 users, load average: 0.26, 0.30, 0.23 - |____ |kuhn media australia| | /-oo /| |'-. |http://kma.0catch.com | | .\__/ || | | || | _ / `._ \|_|_.-' |stephen kuhn| | | / \__.`=._) (_ | email: [EMAIL PROTECTED] | - linux user #:267497 linux machine #:194239 * MDK 9.1+ RH 9 Mandrake Linux Kernel 2.4.21-11mdk Cooker for i586 - * This message was composed on a 100% Microsoft free computer * She won' go Warp 7, Cap'n! The batteries are dead! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Other Users Running?
On Tuesday 22 July 2003 08:30 pm, Stephen Kuhn wrote: On Wed, 2003-07-23 at 13:13, Cody Harris wrote: I know theres a command for this, but how to i get a list of all the logged in users and what they are running (and what term they are on). Thanks! Open a term, and type: who Another thing to check out is what who can do for you. Do a man who - it's a great utility. Then do a man -woman (unknown command) ;-) Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Other Users Running?
Aron Smith wrote: On Tuesday 22 July 2003 08:30 pm, Stephen Kuhn wrote: On Wed, 2003-07-23 at 13:13, Cody Harris wrote: I know theres a command for this, but how to i get a list of all the logged in users and what they are running (and what term they are on). Thanks! Open a term, and type: who Another thing to check out is what who can do for you. Do a man who - it's a great utility. Then do a man -woman (unknown command) ;-) Only if you have the funny-manpages package installed. -- Brant Fitzsimmons [EMAIL PROTECTED] Liberty means responsibility. That is why most men dread it. -George Bernard Shaw, Man and Superman (1903) Maxims for Revolutionists Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Other Users Running?
rikona wrote: Hello Aron, Tuesday, July 22, 2003, 9:38:17 PM, you wrote: AS Then do a man -woman (unknown command) ;-) We could use a bit of humor Not mine, and I have not tried them in Mandrake... The following are strange error messages you can get Unix to generate. % rm microsoft-ethics rm: microsoft-ethics nonexistent % ar m God ar: God does not exist % How would you rate SCO's incompetence? Unmatched . % [Where is Jimmy Hoffa? Missing ]. % ^How did the sex change^ operation go? Modifier failed. % If I had a ( for every $ Bill Gates spent, what would I have? Too many ('s. % make love Make: Don't know how to make love. Stop. % sleep with me bad character % got a light? No match. % man: why did you get a divorce? man:{sp 0}: Too many arguments. % ^What is saccharine? Bad substitute. % man woman No manual entry for woman. % %blow %blow: No such job. % (- (-: Command not found. % sh $ PATH=pretending! /usr/ucb/which sense no sense in pretending! $ drink bottle; opener bottle: cannot open opener: not found $ mkdir matter; cat matter matter: cannot create Nice. :-) -- Brant Fitzsimmons [EMAIL PROTECTED] Liberty means responsibility. That is why most men dread it. -George Bernard Shaw, Man and Superman (1903) Maxims for Revolutionists Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com