Re: sistema ridottto al minimo...come?
Ciao Max,
dipende cosa vuoi farci con essa. Per ridurre lo spazio magari usa la potato
ppc. Ti posso passare l'output di ps aux:
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.1 1300 512 ? S 11:13 0:00 ini
root 2 0.0 0.0 0 0 ? SW 11:13 0:00 [keventd]
root 3 0.0 0.0 0 0 ? SWN 11:13 0:00
[ksoftirqd_CPU0]
root 4 0.0 0.0 0 0 ? SW 11:13 0:00 [kswapd]
root 5 0.0 0.0 0 0 ? SW 11:13 0:00 [bdflush]
root 6 0.0 0.0 0 0 ? SW 11:13 0:00 [kupdated]
root 63 0.0 0.0 0 0 ? SW 11:14 0:00 [khubd]
root 94 0.0 0.0 0 0 ? SW< 11:14 0:00 [mdrecoveryd]
root 99 0.0 0.0 0 0 ? SW 11:14 0:00 [kapm-idled]
root 195 0.0 0.2 1508 716 ? S 11:15 0:00
/sbin/dhclient-2.2.x -q eth0
root 251 0.0 0.2 1376 624 ? S 11:15 0:00 /sbin/syslogd
root 254 0.0 0.4 1896 1076 ? S 11:15 0:00 /sbin/klogd
root 258 0.0 0.1 1288 504 ? S 11:15 0:00 /usr/sbin/apmd
-P /etc/apm/apmd_proxy
root 271 0.0 0.2 1328 544 ? S 11:15 0:00 /usr/sbin/inetd
root 277 0.0 0.4 2272 1148 ? S 11:15 0:00 /bin/sh
/usr/bin/safe_mysqld
mysql 312 0.0 1.7 36568 4572 ? S 11:15 0:00
/usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql
--pid-file=/var/run/mysqld/mysqld.pid --skip-locking
mysql 314 0.0 1.7 36568 4572 ? S 11:15 0:00
/usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql
--pid-file=/var/run/mysqld/mysqld.pid --skip-locking
mysql 315 0.0 1.7 36568 4572 ? S 11:15 0:00
/usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql
--pid-file=/var/run/mysqld/mysqld.pid --skip-locking
mysql 316 0.0 1.7 36568 4572 ? S 11:15 0:00
/usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql
--pid-file=/var/run/mysqld/mysqld.pid --skip-locking
root 343 0.0 0.2 1428 684 ? S 11:15 0:00 /sbin/cardmgr
daemon 349 0.0 0.2 1416 588 ? S 11:15 0:00 /usr/sbin/atd
root 352 0.0 0.2 1684 692 ? S 11:15 0:00 /usr/sbin/cron
root 385 0.0 2.8 77348 7388 ? S 11:15 0:00
/usr/sbin/apache
root 388 0.0 0.5 2360 1340 tty1 S 11:15 0:00 -bash
root 389 0.0 0.1 1284 492 tty2 S 11:15 0:00 /sbin/getty
38400 tty2
root 390 0.0 0.1 1284 492 tty3 S 11:15 0:00 /sbin/getty
38400 tty3
root 391 0.0 0.1 1284 492 tty4 S 11:15 0:00 /sbin/getty
38400 tty4
root 392 0.0 0.1 1284 492 tty5 S 11:15 0:00 /sbin/getty
38400 tty5
root 393 0.0 0.1 1284 492 tty6 S 11:15 0:00 /sbin/getty
38400 tty6
www-data 394 0.0 2.8 77348 7388 ? S 11:15 0:00
/usr/sbin/apache
www-data 395 0.0 2.8 77348 7404 ? S 11:15 0:00
/usr/sbin/apache
root 397 0.0 0.3 2100 964 tty1 S 11:15 0:00 /bin/sh
/usr/bin/X11/startx
root 404 0.0 0.2 2092 648 tty1 S 11:15 0:00 xinit
/usr/X11R6/lib/X11/xinit/xinitrc -- /usr/X11R6/lib/X11/xinit/xserverrc
root 405 0.6 5.2 23188 13484 ? R< 11:15 0:12 /usr/bin/X11/X
-dpi 100 -nolisten tcp
root 408 0.0 0.9 4408 2532 tty1 S 11:16 0:00
/usr/bin/WindowMaker
root 437 0.0 0.5 2940 1496 tty1 S 11:16 0:00 xapm -percent
root 438 0.0 0.9 4356 2376 tty1 S 11:16 0:00
x-terminal-emulator
root 439 0.0 0.5 2336 1336 pts/0 S 11:16 0:00 bash
root 549 0.0 0.5 3384 1500 pts/0 R 11:46 0:00 ps aux
Se togli apache e mysql vedi quali sono i servizi minimi, quelli appunto di
default. Poi con l'output del top:
46 processes: 45 sleeping, 1 running, 0 zombie, 0 stopped
CPU states: 1.2% user, 1.2% system, 0.0% nice, 97.6% idle
Mem: 256276K total, 121072K used, 135204K free, 3592K buffers
Swap: 529160K total, 0K used, 529160K free, 78512K cached
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
405 root 15 -1 22452 13M 1816 S < 1.3 5.4 0:16 X
576 root 11 0 968 968 768 R 0.3 0.3 0:00 top
438 root 9 0 2380 2380 1756 S 0.1 0.9 0:00 x-terminal-emul
1 root 8 0 512 512 444 S 0.0 0.1 0:00 init
2 root 9 0 0 0 0 SW 0.0 0.0 0:00 keventd
3 root 19 19 0 0 0 SWN 0.0 0.0 0:00 ksoftirqd_CPU0
4 root 9 0 0 0 0 SW 0.0 0.0 0:00 kswapd
5 root 9 0 0 0 0 SW 0.0 0.0 0:00 bdflush
6 root 9 0 0 0 0 SW 0.0 0.0 0:00 kupdated
63 root 9 0 0 0 0 SW 0.0 0.0 0:00 khubd
94 root -1 -20 0 0 0 SW< 0.0 0.0 0:00 mdrecoveryd
99 root 9 0 0 0 0 SW 0.0 0.0 0:00 kapm-idled
195 root 9 0 716 716 576 S 0.0 0.2 0:00 dhclient-2.2.x
251 root 9 0 624 624 508 S 0.0 0.2 0:00 syslogd
254 root 9 0 1076 1076 444 S 0.0 0.4 0:00 klogd
258 root 8 0 504 504 440 S 0.0 0.1 0:00 apmd
271 root 9 0 544 544 468 S 0.0 0.2 0:00 inetd
277 root 9 0 1148 1148 920 S 0.0 0.4 0:00 safe_mysqld
312 mysql 9 0 4572 4572 1772 S 0.0 1.7 0:00 mysqld
314 mysql 8 0 4572 4572 1772 S 0.0 1.7 0:00 mysqld
315 mysql 9 0 4572 4572 1772 S 0.0 1.7 0:00 mysqld
316 mysql 9 0 4572 4572 1772 S 0.0 1.7 0:00 mysqld
343 root 8 0 684 684 520 S 0.0 0.2 0:00 cardmgr
349 daemon 9 0 588 588 512 S 0.0 0.2 0:00 atd
352 root 8 0 692 692 572 S 0.0 0.2 0:00 cron
385 root 9 0 7388 7388 7272 S 0.0 2.8 0:00 apache
388 root 9 0 1340 1340 1016 S 0.0 0.5 0:00 bash
389 root 9 0 492 492 428 S 0.0 0.1 0:00 getty
390 root 9 0 492 492 428 S 0.0 0.1 0:00 getty
391 root 9 0 492 492 428 S 0.0 0.1 0:00 getty
392 root 9 0 492 492 428 S 0.0 0.1 0:00 getty
393 root 9 0 492 492 428 S 0.0 0.1 0:00 getty
394 www-data 9 0 7388 7388 7256 S 0.0 2.8 0:00 apache
395 www-data 9 0 7404 7404 7288 S 0.0 2.8 0:00 apache
397 root 9 0 964 964 796 S 0.0 0.3 0:00 startx
404 root 9 0 648 648 556 S 0.0 0.2 0:00 xinit
408 root 9 0 2532 2532 1668 S 0.0 0.9 0:01 WindowMaker
437 root 9 0 1496 1496 1256 S 0.0 0.5 0:00 xapm
439 root 9 0 1336 1336 1036 S 0.0 0.5 0:00 bash
555 root 9 0 420 420 356 S 0.0 0.1 0:00 tail
557 root 10 0 14180 13M 10556 S 0.0 5.5 0:05 kmail
On Monday 01 July 2002 20:42, MaX wrote:
> Mim
> e-Version: 1.0
> Resent-Message-ID: <2yYPC.A.MbE.bTKI9@murphy>
> Resent-From: debian-italian@lists.debian.org
> X-Mailing-List: <debian-italian@lists.debian.org> archive/latest/19446
> X-Loop: debian-italian@lists.debian.org
> List-Post: <mailto:debian-italian@lists.debian.org>
> List-Help: <mailto:debian-italian-request@lists.debian.org?subject?lp>
> List-Subscribe:
> <mailto:debian-italian-request@lists.debian.org?subject¥bscribe>
> List-Unsubscribe:
> <mailto:debian-italian-request@lists.debian.org?subject¾subscribe>
> Precedence: list
> Resent-Sender: debian-italian-request@lists.debian.org
>
> ciao a tutti,
>
> esiste un howto su come stabilire quali siano i servizi veramente
> indispensabili in una WS debian?
>
> La prox settimana installeró debian su un 68k con solo 8 MB di ram e 300
> MB di HD, quindi siamo proprio allo stretto.
>
> consigli?
>
> ciao,
> MaX
>
>
>
>
> --
> To UNSUBSCRIBE, email to debian-italian-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
--
To UNSUBSCRIBE, email to debian-italian-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: