ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Vyt <vyt_o@mail.ru>
To: Mandrake-Russian <mandrake-russian@linuxteam.iplabs.ru>
Subject: [mdk-re] xterm, su, mc
Date: Mon Feb 19 12:54:00 2001
Message-ID: <01021912532901.00642@vyt> (raw)

[-- Attachment #1: Type: text/plain, Size: 568 bytes --]

Hello, All

Еще такой глюк:
если запустить xterm (из toolbar'a icewm'а, там еще опции есть), потом в нем
mc, то по CTRL-o показывается чистое черное окно, без вывода запущенных прог.
Если сразу после xterm'а запустить su, написать пароль root'а, а затем
запустить mc, а затем закрыть xterm крестиком icewm'а (закрыть) - ТО xterm
честно прибивается, а su и mc остаются, причем mc жрет все доступные ресурсы.
Попробовал то же самое без su - mc нормально прибивается.
Сорри, сто длинно и путанно :)

Выводы ps aux и top прилагаются


--
Regards, Vyt
mailto:vyt_o@mail.ru

[-- Attachment #2: ps_aux --]
[-- Type: text/plain, Size: 2506 bytes --]

USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.2  1256  516 ?        S    Feb18   0:04 init [5]
root         2  0.0  0.0     0    0 ?        SW   Feb18   0:00 [kflushd]
root         3  0.0  0.0     0    0 ?        SW   Feb18   0:00 [kupdate]
root         4  0.0  0.0     0    0 ?        SW   Feb18   0:00 [kswapd]
root         5  0.0  0.0     0    0 ?        SW<  Feb18   0:00 [mdrecoveryd]
root       433  0.0  0.3  1360  648 ?        S    Feb18   0:00 syslogd
root       441  0.0  0.4  1648  892 ?        S    Feb18   0:00 klogd
root       457  0.0  0.3  1468  676 ?        S    Feb18   0:00 crond
root       499  0.0  0.2  1280  492 ?        S    Feb18   0:00 gpm -t imps2
xfs        536  0.0  2.0  5112 4032 ?        S    Feb18   0:01 xfs -port -1 -dae
root       552  0.0  0.2  1228  432 tty4     S    Feb18   0:00 /sbin/mingetty tt
root       553  0.0  0.2  1228  432 tty5     S    Feb18   0:00 /sbin/mingetty tt
root       554  0.0  0.2  1228  432 tty6     S    Feb18   0:00 /sbin/mingetty tt
root       555  0.0  0.5  3172 1108 ?        S    Feb18   0:00 xdm -nodaemon
root       578  0.0  4.1 124812 7912 ?       S    Feb18   0:16 /etc/X11/X -auth 
root      5684  0.0  0.6  2112 1160 ?        S    Feb18   0:00 su
root      5688  0.0  0.7  2356 1424 ?        S    Feb18   0:00 bash
root      5714 99.4  0.8  3004 1696 ?        R    Feb18 970:20 /usr/bin/mc -P
root      5716  0.0  0.7  2364 1440 pts/4    S    Feb18   0:00 bash -rcfile .bas
root      5883  0.0  0.6  2208 1244 tty2     S    Feb18   0:00 login -- root    
root      5887  0.0  0.2  1228  432 tty3     S    Feb18   0:00 /sbin/mingetty tt
root     10630  0.0  0.7  2284 1372 tty2     S    10:38   0:00 -bash
root     10662  0.8  1.0  3092 1936 tty2     S    10:38   0:03 /usr/bin/mc -P
root     10663  0.0  0.1  1228  372 ?        S    10:38   0:00 cons.saver /dev/t
root     10664  0.0  0.7  2364 1440 pts/0    S    10:38   0:00 bash -rcfile .bas
root     10689  0.0  0.6  2208 1244 tty1     S    10:39   0:00 login -- root    
root     10700  0.0  0.9  3344 1760 ?        S    10:42   0:00 -:0          
root     10711  0.0  0.7  2284 1372 tty1     S    10:42   0:00 -bash
root     10754  0.2  0.9  3156 1840 tty1     S    10:43   0:00 /usr/bin/mc -P
root     10755  0.0  0.1  1228  372 ?        S    10:43   0:00 cons.saver /dev/t
root     10756  0.1  0.7  2364 1440 pts/1    S    10:43   0:00 bash -rcfile .bas
root     10780  0.0  0.3  2484  756 pts/1    R    10:44   0:00 ps aux

[-- Attachment #3: top --]
[-- Type: text/plain, Size: 2386 bytes --]



 10:43am  up 16:39,  2 users,  load average: 0.90, 0.87, 0.82
29 processes: 27 sleeping, 2 running, 0 zombie, 0 stopped
CPU states: 16.7% user,  8.9% system,  0.0% nice,  2.6% idle
Mem:   192320K av,  127820K used,   64500K free,   20972K shrd,   61368K buff
Swap:  136544K av,       0K used,  136544K free                   34888K cached

  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
 5714 root      17   0  1696 1696  1256 R    99.1  0.8 969:02 mc
    1 root       0   0   516  516   452 S     0.0  0.2   0:04 init
    2 root       0   0     0    0     0 SW    0.0  0.0   0:00 kflushd
    3 root       0   0     0    0     0 SW    0.0  0.0   0:00 kupdate
    4 root       0   0     0    0     0 SW    0.0  0.0   0:00 kswapd
    5 root     -20 -20     0    0     0 SW<   0.0  0.0   0:00 mdrecoveryd
  433 root       0   0   648  648   520 S     0.0  0.3   0:00 syslogd
  441 root       0   0   892  892   436 S     0.0  0.4   0:00 klogd
  457 root       0   0   676  676   576 S     0.0  0.3   0:00 crond
  499 root       0   0   492  492   432 S     0.0  0.2   0:00 gpm
  536 xfs        0   0  4032 4032  1068 S     0.0  2.0   0:01 xfs
  552 root       0   0   432  432   368 S     0.0  0.2   0:00 mingetty
  553 root       0   0   432  432   368 S     0.0  0.2   0:00 mingetty
  554 root       0   0   432  432   368 S     0.0  0.2   0:00 mingetty
  555 root       0   0  1108 1108   992 S     0.0  0.5   0:00 xdm
  578 root       0   0  120M 120M  2252 S     0.0 63.9   0:16 X
 5684 root       0   0  1160 1160   740 S     0.0  0.6   0:00 su
 5688 root       0   0  1424 1424  1080 S     0.0  0.7   0:00 bash
 5716 root       0   0  1440 1440  1088 S     0.0  0.7   0:00 bash
 5883 root       0   0  1244 1244   780 S     0.0  0.6   0:00 login
 5887 root       0   0   432  432   368 S     0.0  0.2   0:00 mingetty
10630 root       0   0  1372 1372  1032 S     0.0  0.7   0:00 bash
10662 root       0   0  2252 2252  1404 S     0.0  1.1   0:02 mc
10663 root       0   0   372  372   312 S     0.0  0.1   0:00 cons.saver
10664 root       0   0  1440 1440  1088 S     0.0  0.7   0:00 bash
10689 root       0   0  1244 1244   780 S     0.0  0.6   0:00 login
10700 root       0   0  1760 1760  1504 S     0.0  0.9   0:00 xdm
10711 root       0   0  1368 1368  1032 S     0.0  0.7   0:00 bash
10751 root       0   0  1020 1020   816 R     0.0  0.5   0:00 top

             reply	other threads:[~2001-02-19 12:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-19 12:54 Vyt [this message]
2001-02-19 13:26 ` aen
2001-02-19 13:43   ` Vyt
2001-02-19 13:44   ` Sergey Donin
2001-02-19 13:51     ` aen
2001-02-19 14:03     ` Vyt
2001-02-19 14:26       ` Sergey Donin
2001-02-19 16:04         ` Vyt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=01021912532901.00642@vyt \
    --to=vyt_o@mail.ru \
    --cc=mandrake-russian@linuxteam.iplabs.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git