View previous topic :: View next topic |
Author |
Message |
trompa Guru
Joined: 15 Sep 2003 Posts: 368 Location: Vigo (Spain)
|
Posted: Mon Sep 15, 2003 5:16 pm Post subject: strange thing with pids |
|
|
when i make a ps ax it gives
Code: |
PID TTY STAT TIME COMMAND
1 ? S 0:04 init
2 ? SW 0:00 [migration_CPU0]
3 ? SW 0:00 [keventd]
4 ? SWN 0:00 [ksoftirqd_CPU0]
5 ? SW 0:00 [kswapd]
6 ? SW 0:00 [kscand]
7 ? SW 0:00 [bdflush]
8 ? SW 0:00 [kupdated]
11 ? SW 0:00 [khubd]
154 ? S 0:00 /sbin/devfsd /dev
954 ? S 0:00 metalog [MASTER]
956 ? S 0:00 metalog [KERNEL]
1027 ? S 0:00 /usr/sbin/cupsd
1268 ? S 0:00 /usr/sbin/gpm -m /dev/psaux -t imps2
1341 ? S 0:00 /sbin/dhcpcd eth0
1454 ? S 0:00 /usr/sbin/cron
1499 vc/1 S 0:00 /sbin/agetty 38400 tty1 linux
1500 vc/2 S 0:00 /sbin/agetty 38400 tty2 linux
1501 vc/3 S 0:00 /sbin/agetty 38400 tty3 linux
1502 vc/4 S 0:00 /sbin/agetty 38400 tty4 linux
1503 vc/5 S 0:00 /sbin/agetty 38400 tty5 linux
1504 vc/6 S 0:00 /sbin/agetty 38400 tty6 linux
1520 ? S 0:00 [gdm]
1522 ? S 0:00 [gdm]
1523 ? R 0:08 /etc/X11/X :0 -nolisten tcp -auth /var/lib/gdm/:0.Xau 1531 ? S 0:00 /usr/bin/gnome-session
1540 ? S 0:00 /usr/bin/ssh-agent -- /etc/X11/gdm/gnomerc
1543 ? S 0:00 /usr/libexec/gconfd-2 11
1545 ? S 0:00 /usr/bin/esd -terminate -nobeeps -as 2 -spawnfd 15
1547 ? S 0:00 /usr/libexec/bonobo-activation-server --ac-activate - 1549 ? S 0:00 gnome-settings-daemon --oaf-activate-iid=OAFIID:GNOME 1557 ? S 0:00 gnome-smproxy --sm-config-prefix /.gnome-smproxy-DjiC 1559 ? S 0:00 metacity --sm-save-file 1063325940-14343-4193834529.m 1561 ? S 0:00 nautilus --sm-config-prefix /nautilus-riJNyi/ --sm-cl 1563 ? S 0:00 gnome-panel --sm-config-prefix /gnome-panel-dDO3xq/ - 1566 ? S 0:00 nautilus --sm-config-prefix /nautilus-riJNyi/ --sm-cl 1567 ? S 0:00 nautilus --sm-config-prefix /nautilus-riJNyi/ --sm-cl 1568 ? S 0:00 nautilus --sm-config-prefix /nautilus-riJNyi/ --sm-cl 1569 ? S 0:00 nautilus --sm-config-prefix /nautilus-riJNyi/ --sm-cl 1570 ? S 0:00 nautilus --sm-config-prefix /nautilus-riJNyi/ --sm-cl 1571 ? S 0:00 nautilus --sm-config-prefix /nautilus-riJNyi/ --sm-cl 1573 ? S 0:00 /usr/libexec/gweather-applet-2 --oaf-activate-iid=OAF 1575 ? S 0:00 /usr/libexec/notification-area-applet --oaf-activate- 1576 ? S 0:00 /usr/libexec/gweather-applet-2 --oaf-activate-iid=OAF 1577 ? S 0:00 /usr/libexec/gweather-applet-2 --oaf-activate-iid=OAF 1579 ? S 0:00 /usr/libexec/mixer_applet2 --oaf-activate-iid=OAFIID: 1584 ? S 0:00 oafd --ac-activate --ior-output-fd=10
1604 ? R 0:00 /usr/bin/gnome-terminal
1605 ? S 0:00 [gnome-pty-helpe]
1606 pts/0 S 0:00 -bash
1623 ? S 0:06 /usr/bin/galeon-bin
1628 ? S 0:00 /usr/bin/galeon-bin
1629 ? S 0:00 /usr/bin/galeon-bin
1630 ? S 0:00 /usr/bin/galeon-bin
1631 ? S 0:00 /usr/bin/galeon-bin
1641 ? S 0:00 xmms
1642 ? S 0:00 xmms
1643 ? S 0:00 xmms
1644 ? S 0:00 xmms
1645 pts/0 R 0:00 ps ax
|
I only have one xmms, one galeon, one weather applet, ...., whats the problem , why it runs 4 processes or more when i onlly run it once?. |
|
Back to top |
|
|
far Guru
Joined: 10 Mar 2003 Posts: 394 Location: Stockholm, Sweden
|
Posted: Mon Sep 15, 2003 8:47 pm Post subject: |
|
|
Don't worry.
Many programs "fork" their processes (create child processes) as a normal part of their operation. This is a way to do more than one thing simultaneously without having to use threads. _________________ The Porthole Portage Frontend |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|