CHECKINT(1) General Commands Manual CHECKINT(1)NAME
checkint - Show active network interfaces
SYNOPSIS
checkint
DESCRIPTION
checkint shows all active network interfaces
AUTHOR
Luis Falcon is the original author.
lfalcon@thymbra.com
Michael Meskes wrote this manpage.
meskes@debian.org
COPYRIGHT GPL CHECKINT(1)
Check Out this Related Man Page
ACPI(1) General Commands Manual ACPI(1)NAME
acpi - Shows battery status and other ACPI information
SYNOPSIS
acpi [options]
DESCRIPTION
acpi Shows information from the /proc or the /sys filesystem, such as battery status or thermal information.
OPTIONS -b | --battery
show battery information
-a | --ac-adapter
show ac adapter information
-t | --thermal
show thermal information
-c | --cooling
show cooling device information
-V | --everything
show every device, overrides above options
-s | --show-empty
show non-operational devices
-i | --details
show additional details if available:
* battery capacity information
* temperature trip points
-f | --fahrenheit
use fahrenheit as the temperature unit instead of default celsius
-k | --kelvin
use kelvin as the temperature unit instead of default celsius
-p | --proc
use the old /proc interface, default is the new /sys one
-d | --directory <dir>
path to ACPI info (either /proc/acpi or /sys/class)
-h | --help
display help and exit
-v | --version
output version information and exit
AUTHOR
The original version of this manual page was written by Paul Telford <pxt@debian.org> for the Debian system. Newer additions were done by
Michael Meskes <meskes@debian.org>. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU GPL.
ACPI(1)
i am trying to add numbers with decimal place and I am prompted with an error.
this expr command works
:add=`expr 1 + 1`
:echo $add
:2
but when i am trying to add
:addThis=`expr 1.1 + 1`
:expr: An integer value was expected.
is there a way to add numbers with decimal place in UNIX? (4 Replies)
Dear Users,
How do we pad with white space of particular length between two variables.
For Example:
Suppose i define the variables as follows:
a='toyota'
b='camry'
c='honda'
d='accord'
e=`echo "$a"'\n'"$b"`
f=`echo "$c"'\n'"$d"`
If i do an echo on variables e and f i get :... (1 Reply)
Dear community,
what I'm try to do is deny users to run a script without parameters from command bash, but the same script should run without parameters only from crontab.
Example runs by crontab:*/5 * * * * /tmp/script.sh
Here the normal execution starts every 5 minutes
Example #1 runs by... (16 Replies)
A recent Python upload on another site gave me the inspiration to do an unusual bash version...
This is a little tongue-in-cheek but an enjoyable bit of fun.
It took around 11 seconds to prove 90000000000 had a perfect square of 300000...
It is a stand alone program and has a degree of... (23 Replies)
We have the data looks like below in a log file.
I want to generat files based on the string between two hash(#) symbol like below
Source:
#ext1#test1.tale2 drop
#ext1#test11.tale21 drop
#ext1#test123.tale21 drop
#ext2#test1.tale21 drop
#ext2#test12.tale21 drop
#ext3#test11.tale21 drop... (5 Replies)
I'm a newbie to shell scripting, I was given this script to modify. This script that monitors when CPU Usage is too high based off the top command. The comparison is not working as it should. Its comparing a decimal to a regualar interger. When it send me an email, it send an email and ignores the... (21 Replies)
As it was ultimately Don Craguns idea that saved the whole project i can as well give something back to the community. This is my stanza file parser, which was written only using ksh without any external programs.
The stanza structure
There is some inconsistency as to what exactly is meant by... (0 Replies)
I am back on Python for the AMIGA again and discovered this little gem that exits the program:-
(If you search GOOGLE as 'os.sys.exit()' python nothing seems to appear.)
import os
os.sys.exit()I know of the other four and how they apply but I have no idea whether this creates any zombies or... (2 Replies)
Hi, maybe someone could help me optimizing this little script.
It works so far, but when running, reboot does not work. If kill inotifywait reboot from shell works. I think some optimization is required here.
This script starts at the end of the boot process, from an external device and... (3 Replies)