11-17-2004
AIUI, programs like cpudyn, cpuspeed, etc help increase your battery life by reducing your processor power draw (speed) when not performing cpu-intensive tasks. You probably don't want to skip that one.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
:confused: Can anyone please tell me how to get into Interactive Mode? (2 Replies)
Discussion started by: Nomad
2 Replies
2. UNIX for Dummies Questions & Answers
I would like to ask if anyone knows of a Unix program that is like patch(1), but applies each diff interactively so I can decide on whether to apply a particular diff.
This is my situation: someone has made certain changes to a file I created, sent me the modified copy and I would like the... (2 Replies)
Discussion started by: cbkihong
2 Replies
3. Homework & Coursework Questions
Q. Write a script that behaves both in interactive and non interactive mode. When no arguments are supplied it picks up each C program from the directory and prints first 10 lines.
It then prompts for deletion of the file.
If user supplies arguments with the script , then it works on those files... (1 Reply)
Discussion started by: rits
1 Replies
4. Homework & Coursework Questions
Q. Write a script that behaves both in interactive and non interactive mode. When no arguments are supplied it picks up each C program from the directory and prints first 10 lines.
It then prompts for deletion of the file.
If user supplies arguments with the script , then it works on those files... (8 Replies)
Discussion started by: rits
8 Replies
5. Shell Programming and Scripting
I wanna edit a file non-interactively using vim editor
The file contains a line:
ACTIVATIONCODE=
I have a variable called ACT. I want to edit the file non-interactively using vim such that the concerned line is converted to:
ACTIVATIONCODE=contents of the variable ACT
---------- Post... (1 Reply)
Discussion started by: proactiveaditya
1 Replies
6. Shell Programming and Scripting
Hi,
I need to sftp from one Unix Server (source) to another (destination) (both SunOS) non-interactively.
I did the following :
1) Generated public key in source server in $HOME/.ssh dir without giving any passphrase
2) Added the contents of the public key generated to authorized_keys2... (7 Replies)
Discussion started by: Sabari Nath S
7 Replies
7. Shell Programming and Scripting
Hi,
I am writing an interactive shell script (ksh) but I have no idea how I could make a condition on it :
Variables :
rep_config="${rep_tools}/_CONFIG"
rep_config_old="${rep_config}/_PROTO_OLD"
Here is the interactice part :
lst_proto=$(cat... (2 Replies)
Discussion started by: Aswex
2 Replies
8. Solaris
I just took delivery of an Ultra Sparc 60 box. I tried to install Solaris 10 from the cdrom by issuing the following command at ok prompt: ok boot cdrom, and I am getting an error message that says: "Boot device: /pci@1f,4000/scsi@3/disk@6,0:f File and args: can't open boot device. What am I... (2 Replies)
Discussion started by: ijeoma
2 Replies
9. Shell Programming and Scripting
I copied the script from an AskUbuntu post -
#!/bin/bash
### BEGIN INIT INFO
# Provides: tomcat7
# Required-Start: $network
# Required-Stop: $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start/Stop Tomcat server
### END INIT INFO
... (14 Replies)
Discussion started by: Hijanoqu
14 Replies
XAPM(1) XAPM(1)
NAME
xapm - display Advanced Power Management (APM) BIOS information
SYNOPSIS
xapm [ ... ]
DESCRIPTION
xapm puts up an X window that displays the remaining battery life. The left side of the window contains a printed time or percentage; the
right side of the window contains a bar indicating the percentage. Clicking on the left side of the window will toggle the display between
time and percentage.
OPTIONS AND RESOURCES
In addition to standard Xt options, the following options are available:
-V Print the program version number and exit.
-highcolor color
The color of the bar when the battery percentage is above highvalue. Defaults to "green". (*highColor)
-lowcolor color
The color of the bar when the battery percentage is between lowvalue and highvalue. Defaults to "yellow". (*lowColor)
-criticalcolor color
The color of the bar when the battery percentage is below lowvalue. Defaults to "red". This color is also used to flash the
alphanumeric part of the display when the power status is critical. (*criticalCOlor)
-highvalue highvalue
Set highvalue. The default is 50. (*highValue)
-lowvalue lowvalue
Set lowvalue. The default is 10. (*lowValue)
-chargingcolor color
The color of the printed display when charging. The default is "blue". Use -foreground to change the color used when on battery
power. (*chargingColor)
-delay delay
Sets the number of seconds delay between each update. The default is 1. (*delay)
-percent
Display percentage on startup, instead of time remaining. (*percent, boolean)
-percentauto
Swap automatically between displaying percentage and displaying the time remaining. When on ac power, display percentage, when on
battery power, display the time remaining.
BUGS
There is no way to inhibit the alphanumeric display or the bar display. When the battery percentage is low, using a bright color to warn
you of impending doom may be futile because the bar is too short. Because of the form widget's desire to maintain proportions, dynamic
resizing of the window may not do what you want it to do.
FILES
/proc/apm
AUTHOR
This program was written by Rik Faith (faith@cs.unc.edu) and may be freely distributed under the terms of the GNU General Public License.
There is ABSOLUTELY NO WARRANTY for this program. The current maintainer is Avery Pennarun (apenwarr@worldvisions.ca).
SEE ALSO
apm(1), apmd(8).
January 2004 XAPM(1)