LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-29-2003, 07:47 AM   #1
excaliber
LQ Newbie
 
Registered: Jul 2003
Posts: 11

Rep: Reputation: 0
Power Management and questions


Couple questions. Firstly, can i let a hard drive spin down in linux, if its not being used? Right now i've got Windows 2000 on one drive and Slack on another. When using slack, i want the windows drive to spin down (no sense letting it run). Its formatted NTFS, so i cant access it anyway.

Can i make the monitor power off after x minutes like in windows?

How do you run a application as a "service". Basically, i want it to run even after i close the console. And then, after its closed, how do i find out what processes are running and close them?

LILO is not behaving nicely. I have to boot off a floppy to get into slack. Where are the config files kept, so i can mess around with it. Does it matter that Windows is on /dev/hdc/ and Slack is on /dev/hdd1/ ?

Thanks!
 
Old 07-29-2003, 08:08 AM   #2
Noryungi
Member
 
Registered: Jul 2003
Location: --> X <-- You are here.
Distribution: Slackware, OpenBSD
Posts: 305

Rep: Reputation: 53
Hard drive spin should be controlled by either apm or acpi. It works on my machine, and I use apm (apmd) to control it. For instance, "apm --suspend" will put my computer into "sleep" mode.

Screen blanking is automatic on the console (text-mode only). It is controlled by xscreensaver, which can be configured through its own configuration program, for X11R6.

A "service" is called a "daemon" in UNIX-land and in Slackware Linux as well. There are several "application" that can run as daemons, such as sendmail, apache, etc.

To run application (NOT a daemon!) even after the console has been closed, try entering "name_of_application &" on the command line.

Finding processes and changing their state is done through "ps" or "top" (to display processes) and by "kill" to stop them. Try entering "man ps", "man top" and "man kill" on the command line for more information.

Try running "lilo" to setup a different configuration for your computer. Usually, it does not matter which drive Linux is installed on, as long as lilo can "reach" it...

You seem to know very little about Linux... Am I wrong? If that's the case, please read the "Slackware Essentials" book. It's an excellent introduction to Linux in general and to Slackware in particular.

You can find it on the Slackware site, at the following address:

http://www.slackware.com/book/

(Or, even better, order it from the Slackware store!)
 
Old 07-29-2003, 08:12 AM   #3
excaliber
LQ Newbie
 
Registered: Jul 2003
Posts: 11

Original Poster
Rep: Reputation: 0
You got that very right. Im very new to slack, but picking it up fast. Didnt realise slack had a book. I'll go check it out. Thanks for the help!
 
Old 07-29-2003, 08:41 AM   #4
Noryungi
Member
 
Registered: Jul 2003
Location: --> X <-- You are here.
Distribution: Slackware, OpenBSD
Posts: 305

Rep: Reputation: 53
Byt the way, an excellent way to learn Linux and/or Unix is to get the book named "Think Unix" by J. Lasseter. Here is a link:

http://www.tux.org/~lasser/think-unix/
 
Old 07-30-2003, 02:36 PM   #5
syncracirca
LQ Newbie
 
Registered: Jun 2003
Location: Arizona
Distribution: FreeBSD and Mandrake
Posts: 9

Rep: Reputation: 0
about that book...

Is slackware essentials available for download? I want to be able to see it offline....I, too need to read it I have to recompile my kernel with APM support. Oops! If anyone knows if and where i can download that book from it would be most appreciated. Thanks
 
Old 07-31-2003, 05:13 AM   #6
Noryungi
Member
 
Registered: Jul 2003
Location: --> X <-- You are here.
Distribution: Slackware, OpenBSD
Posts: 305

Rep: Reputation: 53
"Syncracirca":

Use "wget" to download Slackware Essentials (from the official Slackware site). It may even be present on the CD-ROM of Slackware, but I am not sure...

Also, you don't need to compile a new kernel to have APM support: as far as I know, the 2.4.20 & 2.4.21 kernels of Slackware 9.0 have APM compiled in as a standard.

Check your /etc/rc.d/rc.* files: "apmd" should be present somewhere. Un-comment the correct line and it should work...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
power management linuxmandrake Linux - Software 0 08-02-2005 04:32 PM
Newbie - Power Management Questions kalvadar Linux - Laptop and Netbook 1 02-08-2005 04:41 PM
Enabling power save/power management/cpu freq scaling features for a Debian system zero79 Debian 0 12-19-2004 01:17 PM
Power Management(sysfs) /sys/power/state mavrick613 Linux - General 0 05-24-2004 03:04 PM
Power management raypen Slackware 4 04-27-2003 11:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration