I imagine you wanted to grep the output of ps to find the smbd server,
but at runlevel 1 nothing is really running (by default). I get pretty
much the same thing from ps when I have the problem and when I do not.
The first listing is with the problem (telinit 1 first). The second
listing is after a reboot into runlevel 1:
-----------------------
bash-2.05# ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.1 1424 380 ? S Jul15 0:03 init
root 2 0.0 0.0 0 0 ? SW Jul15 0:03 [keventd]
root 3 0.0 0.0 0 0 ? SW Jul15 0:00 [kapmd]
root 4 0.0 0.0 0 0 ? SWN Jul15 0:01
[ksoftirqd_CPU0]
root 5 0.0 0.0 0 0 ? SW Jul15 1:14 [kswapd]
root 6 0.0 0.0 0 0 ? SW Jul15 0:00 [bdflush]
root 7 0.0 0.0 0 0 ? SW Jul15 0:00 [kupdated]
root 8 0.0 0.0 0 0 ? SW< Jul15 0:00
[mdrecoveryd]
root 14 0.0 0.0 0 0 ? SW Jul15 0:00 [scsi_eh_0]
root 17 0.0 0.0 0 0 ? SW Jul15 0:01 [kjournald]
root 247 0.0 0.0 0 0 ? SW Jul15 0:00 [kjournald]
root 250 0.0 0.0 0 0 ? SW Jul15 0:00 [kjournald]
root 251 0.0 0.0 0 0 ? SW Jul15 0:01 [kjournald]
root 252 0.0 0.0 0 0 ? SW Jul15 0:04 [kjournald]
root 253 0.0 0.0 0 0 ? SW Jul15 0:03 [kjournald]
root 8844 0.0 0.1 1424 404 tty1 S 18:28 0:00 init
root 8845 0.0 0.4 2312 1212 tty1 S 18:28 0:00 /bin/sh
root 8846 0.0 0.1 1392 456 tty1 S 18:29 0:00 script -f
/pub/rl
root 8847 0.2 0.1 1400 500 tty1 S 18:29 0:00 script -f
/pub/rl
root 8848 0.5 0.4 2296 1160 pts/0 S 18:29 0:00 bash -i
root 8849 0.0 0.2 2620 696 pts/0 R 18:29 0:00 ps aux
-----------------------
bash-2.05# ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 5.0 0.1 1412 508 ? S 18:53 0:03 init
root 2 0.0 0.0 0 0 ? SW 18:53 0:00 [keventd]
root 3 0.0 0.0 0 0 ? SW 18:53 0:00 [kapmd]
root 4 0.0 0.0 0 0 ? SWN 18:53 0:00
[ksoftirqd_CPU0]
root 5 0.0 0.0 0 0 ? SW 18:53 0:00 [kswapd]
root 6 0.0 0.0 0 0 ? SW 18:53 0:00 [bdflush]
root 7 0.0 0.0 0 0 ? SW 18:53 0:00 [kupdated]
root 8 0.0 0.0 0 0 ? SW< 18:53 0:00
[mdrecoveryd]
root 14 0.0 0.0 0 0 ? SW 18:53 0:00 [scsi_eh_0]
root 17 0.0 0.0 0 0 ? SW 18:53 0:00 [kjournald]
root 242 0.0 0.0 0 0 ? SW 18:53 0:00 [kjournald]
root 245 0.0 0.0 0 0 ? SW 18:53 0:00 [kjournald]
root 246 0.0 0.0 0 0 ? SW 18:53 0:00 [kjournald]
root 247 0.0 0.0 0 0 ? SW 18:53 0:00 [kjournald]
root 248 0.0 0.0 0 0 ? SW 18:53 0:00 [kjournald]
root 575 0.0 0.1 1412 508 tty1 S 18:53 0:00 init
root 576 0.1 0.4 2312 1208 tty1 S 18:53 0:00 /bin/sh
root 577 0.0 0.1 1392 456 tty1 S 18:54 0:00 script
/pub/rlev1
root 578 0.0 0.1 1400 500 tty1 S 18:54 0:00 script
/pub/rlev1
root 579 0.2 0.4 2296 1160 pts/0 S 18:54 0:00 bash -i
root 580 0.0 0.2 2620 696 pts/0 R 18:54 0:00 ps aux
-----------------------
They are identical for all intents and purposes.
et wrote:
>can you reboot to run level 1? ie.; at lilo first prompt, type "linux 1"
>without the quotes? and try the same thing? or post the output from "ps aux |
>grep sm" or try a "kill -9 {pidofwhatevercomesup}" from theprevious command :
>"ps aux | grep sm" without the quotes and without "{ }".
>
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com