Здравейте,
следната команда
ps -e -o pid,vsz,comm= | sort -n -k 2
ми дава
PID VSZ
2755 1572 unlinkd
1719 1780 ifplugd
1736 1780 ifplugd
1785 1780 ifplugd
2637 1780 ifplugd
2905 1788 xstartup
2973 1788 xstartup
2692 1968 pptpd
2093 2048 thd
3136 2096 getty
1 2172 init
1897 2312 wpa_cli
1758 2376 rpcbind
349 3044 udevd
350 3044 udevd
209 3048 udevd
3154 3080 mount.ntfs
2306 3224 rpc.mountd
2484 3316 dbus-daemon
2951 3316 dbus-daemon
3026 3316 dbus-daemon
2950 3404 dbus-launch
3025 3404 dbus-launch
2942 3564 ssh-agent
3017 3564 ssh-agent
3130 3776 getty
3131 3776 getty
3132 3776 getty
3133 3776 getty
3134 3776 getty
3135 3776 getty
2528 3828 gam_server
2441 3852 cron
27596 4168 ps
2730 5456 squid
2519 5500 vpnserver
2443 5556 ntpd
2628 5596 openvpn
2910 5912 ck-launch-sessi
2979 5912 ck-launch-sessi
1848 6008 wpa_supplicant
2720 6252 sshd
3011 6368 udisks-daemon
2971 6912 gvfsd
3043 6912 gvfsd
27539 6936 bash
3075 7568 gvfs-gphoto2-vo
3077 7568 gvfs-gphoto2-vo
2891 9476 mount.davfs
2795 9480 mount.davfs
3089 9612 mount.davfs
27597 9848 sort
27531 9920 sshd
27538 9920 sshd
2229 9956 nmbd
3178 10800 mount.davfs
3188 11576 mount.davfs
2947 12896 lxsession
3022 12896 lxsession
2957 13700 openbox
3032 13700 openbox
3085 14832 menu-cached
3086 15856 menu-cached
2767 16608 miniserv.pl
3069 17904 gvfs-afc-volume
3071 17904 gvfs-afc-volume
2281 19060 smbd
2318 19456 smbd
2520 23596 vpnserver
3097 24056 gvfsd-trash
3099 24056 gvfsd-trash
3008 24344 udisks-daemon
2732 25008 squid
2966 25592 lxpolkit
3040 25592 lxpolkit
2801 27764 console-kit-dae
2127 28132 rsyslogd
2349 29404 apache2
6769 29616 apache2
6770 29616 apache2
6701 30044 apache2
2986 31496 gvfs-fuse-daemo
3046 31496 gvfs-fuse-daemo
2868 32048 polkitd
2901 35808 Xtightvnc
2789 37204 minidlna
2961 37492 lxpanel
3034 37880 lxpanel
2930 38616 Xtightvnc
3053 58324 gvfs-gdu-volume
2997 58328 gvfs-gdu-volume
2525 59984 fail2ban-server
3035 80892 pcmanfm
2963 80952 pcmanfm
Има ли начин да разбера защо е така и да ги направя да са по един процес?
следната команда
ps -e -o pid,vsz,comm= | sort -n -k 2
ми дава
PID VSZ
2755 1572 unlinkd
1719 1780 ifplugd
1736 1780 ifplugd
1785 1780 ifplugd
2637 1780 ifplugd
2905 1788 xstartup
2973 1788 xstartup
2692 1968 pptpd
2093 2048 thd
3136 2096 getty
1 2172 init
1897 2312 wpa_cli
1758 2376 rpcbind
349 3044 udevd
350 3044 udevd
209 3048 udevd
3154 3080 mount.ntfs
2306 3224 rpc.mountd
2484 3316 dbus-daemon
2951 3316 dbus-daemon
3026 3316 dbus-daemon
2950 3404 dbus-launch
3025 3404 dbus-launch
2942 3564 ssh-agent
3017 3564 ssh-agent
3130 3776 getty
3131 3776 getty
3132 3776 getty
3133 3776 getty
3134 3776 getty
3135 3776 getty
2528 3828 gam_server
2441 3852 cron
27596 4168 ps
2730 5456 squid
2519 5500 vpnserver
2443 5556 ntpd
2628 5596 openvpn
2910 5912 ck-launch-sessi
2979 5912 ck-launch-sessi
1848 6008 wpa_supplicant
2720 6252 sshd
3011 6368 udisks-daemon
2971 6912 gvfsd
3043 6912 gvfsd
27539 6936 bash
3075 7568 gvfs-gphoto2-vo
3077 7568 gvfs-gphoto2-vo
2891 9476 mount.davfs
2795 9480 mount.davfs
3089 9612 mount.davfs
27597 9848 sort
27531 9920 sshd
27538 9920 sshd
2229 9956 nmbd
3178 10800 mount.davfs
3188 11576 mount.davfs
2947 12896 lxsession
3022 12896 lxsession
2957 13700 openbox
3032 13700 openbox
3085 14832 menu-cached
3086 15856 menu-cached
2767 16608 miniserv.pl
3069 17904 gvfs-afc-volume
3071 17904 gvfs-afc-volume
2281 19060 smbd
2318 19456 smbd
2520 23596 vpnserver
3097 24056 gvfsd-trash
3099 24056 gvfsd-trash
3008 24344 udisks-daemon
2732 25008 squid
2966 25592 lxpolkit
3040 25592 lxpolkit
2801 27764 console-kit-dae
2127 28132 rsyslogd
2349 29404 apache2
6769 29616 apache2
6770 29616 apache2
6701 30044 apache2
2986 31496 gvfs-fuse-daemo
3046 31496 gvfs-fuse-daemo
2868 32048 polkitd
2901 35808 Xtightvnc
2789 37204 minidlna
2961 37492 lxpanel
3034 37880 lxpanel
2930 38616 Xtightvnc
3053 58324 gvfs-gdu-volume
2997 58328 gvfs-gdu-volume
2525 59984 fail2ban-server
3035 80892 pcmanfm
2963 80952 pcmanfm
Има ли начин да разбера защо е така и да ги направя да са по един процес?