DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2009-09-03 18:26:05

gasman
Member
From: Swansea,UK
Registered: 2009-06-23
Posts: 94

Determine activity on a 323 ?

Hi, linux newbie here :-)

Now and again when I am upstairs where my DNS323 is located I see that both disk lights are flickering like mad, yet there *should* not really be too much going on with it at the time.?

How can I see exactly what is doing this in Linux.?

TIA


DNS-323 FW 1.08 (05/15/2009) HW:B1
2 * Seagate    ST3500630AS (500GB)  Fun_plug 0.5
DNS-323 FW 1.08  (12/18/2009) HW:B1
2 * Hitachi    HDS5C3020ALA632 (2TB)  Fun_plug 0.5

Offline

 

#2 2009-09-03 20:00:39

luusac
Member
Registered: 2008-04-29
Posts: 360

Re: Determine activity on a 323 ?

once you have logged in via ssh/telnet use either top or ps to see what is running (press q to quit top)

Offline

 

#3 2009-09-03 22:30:51

gasman
Member
From: Swansea,UK
Registered: 2009-06-23
Posts: 94

Re: Determine activity on a 323 ?

Thanks, but that does not show me what might be hammering the disks.

I googled and found about iostat. sar and sadc but they do not work. I get 'not found' when typing the command.


DNS-323 FW 1.08 (05/15/2009) HW:B1
2 * Seagate    ST3500630AS (500GB)  Fun_plug 0.5
DNS-323 FW 1.08  (12/18/2009) HW:B1
2 * Hitachi    HDS5C3020ALA632 (2TB)  Fun_plug 0.5

Offline

 

#4 2009-09-04 15:03:24

hell0
Member
From: .de
Registered: 2008-05-13
Posts: 81

Re: Determine activity on a 323 ?

how about

Code:

lsof | grep /mnt/H

which should give you processname PID on the begining of the line and the file accessed on the local disks on the end of each line..

Last edited by hell0 (2009-09-04 15:04:00)


CH3SNAS firmware 1.05 with WD1000FYPS and ffp 0.5 on USB Stick

Offline

 

#5 2009-09-04 22:56:05

gasman
Member
From: Swansea,UK
Registered: 2009-06-23
Posts: 94

Re: Determine activity on a 323 ?

Thanks.

That goes someway to showing what files are used, but not what is causing all the disk activity.

I've googled a bit more and found a way at http://linuxadministration.us/2009/07/2 … g-disk-io/ to do it but not the commands on the DNS323.


DNS-323 FW 1.08 (05/15/2009) HW:B1
2 * Seagate    ST3500630AS (500GB)  Fun_plug 0.5
DNS-323 FW 1.08  (12/18/2009) HW:B1
2 * Hitachi    HDS5C3020ALA632 (2TB)  Fun_plug 0.5

Offline

 

#6 2009-09-05 03:02:09

luusac
Member
Registered: 2008-04-29
Posts: 360

Re: Determine activity on a 323 ?

but if you know what files are being used you (or we) may be able to work out what is using them ....  You could post the outputs you get from ps and lsof | grep /mnt/H .....

Offline

 

#7 2009-09-05 16:14:35

gasman
Member
From: Swansea,UK
Registered: 2009-06-23
Posts: 94

Re: Determine activity on a 323 ?

Ok, thank you, will keep an eye out for the next time and issue the commands.

Just curious as to what it might be.

Thanks again.


DNS-323 FW 1.08 (05/15/2009) HW:B1
2 * Seagate    ST3500630AS (500GB)  Fun_plug 0.5
DNS-323 FW 1.08  (12/18/2009) HW:B1
2 * Hitachi    HDS5C3020ALA632 (2TB)  Fun_plug 0.5

Offline

 

#8 2009-09-05 19:41:43

G_E_M_S
New member
Registered: 2008-08-31
Posts: 3

Re: Determine activity on a 323 ?

I have a similar problem....
that what i get from top:

Mem: 60052K used, 1852K free, 0K shrd, 11668K buff, 37128K cached
CPU:   0% usr   0% sys   0% nice 100% idle   0% io   0% irq   0% softirq
Load average: 0.03 0.03 0.00
  PID  PPID USER     STAT   VSZ %MEM %CPU COMMAND
1590  1588 root     S     6724  11%   0% ./bt --daemon-loop
1586  1585 root     S     6724  11%   0% ./bt --daemon-loop
1588  1586 root     S     6724  11%   0% ./bt --daemon-loop
1589  1588 root     S     6724  11%   0% ./bt --daemon-loop
1591  1588 root     S     6724  11%   0% ./bt --daemon-loop
1761  1588 root     S     6724  11%   0% ./bt --daemon-loop
22646  1638 root     S     5092   8%   0% /usr/sbin/samba/smbd -D
1595     1 root     S     5092   8%   0% /web/webs
22912  1845 root     S     5084   8%   0% sshd: root@pts/0
1638     1 root     S     4812   8%   0% /usr/sbin/samba/smbd -D
1643  1638 root     S     4812   8%   0% /usr/sbin/samba/smbd -D
1642     1 root     S     2968   5%   0% /usr/sbin/samba/nmbd -D
1845     1 root     S     2464   4%   0% /ffp/sbin/sshd
1780     1 root     S     1568   3%   0% crond
    1     0 root     S     1564   3%   0% init
1654     1 root     S     1564   3%   0% -sh
22914 22912 root     S     1336   2%   0% -sh
23213 22914 root     R     1324   2%   0% top
1738     1 root     S     1044   2%   0% lpd Waiting
1648     1 root     S      920   1%   0% op_server 3 3 3

Offline

 

#9 2009-09-06 14:41:10

luusac
Member
Registered: 2008-04-29
Posts: 360

Re: Determine activity on a 323 ?

your torrents?

Offline

 

#10 2009-09-12 16:52:37

G_E_M_S
New member
Registered: 2008-08-31
Posts: 3

Re: Determine activity on a 323 ?

and what should i do about it? how to disable it?

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB