LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   hdparm -y question..... (https://www.linuxquestions.org/questions/linux-newbie-8/hdparm-y-question-255674/)

chunlee 11-16-2004 03:26 PM

hdparm -y question.....
 
hi there:

having just discovered hdparm command, just got a few questions about it.

i tried

PHP Code:

hdparm -/dev/hda 

to put the hard drive into standby. after issuing the command, the hard drive did spin down but as soon as it stops, it spins up again as normal.

i then tried

PHP Code:

hdparm -/dev/hda 

to put the hard drive to sleep. similiar thing happened, it went to sleep for a bit and then comes back up again.

why is this? i am guessing that i have some processes that requires constant access to the hard drive. i then did a

PHP Code:

ps -

but nothing showed up.

can anyone help?

cheers

CHUN

MartinN 11-16-2004 04:44 PM

If your swap partition is on hda then the disk gets a lot of accesses all the time, effectively keeping the disk from going to standby.

Martin

chunlee 11-16-2004 05:47 PM

ah, i see;)

cheers

CHUN


All times are GMT -5. The time now is 12:35 AM.