12-08-2010
What are the units for each indicator above?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
Can someone please tell me which command to use to determine the available disk space on a given disk device?
I have to write a shell script that compresses files and stores them in a specific location but I am not sure how "conservative" I should be?
Thanks in advance!
Al. (4 Replies)
Discussion started by: alan
4 Replies
2. Infrastructure Monitoring
snmpget -v 1 -c COMMUNITYSTR hostname OID
what OIDs would I use to get information on all the processes and disk space information that are on a particular host.
where can i find out information on all of this?
thanks (3 Replies)
Discussion started by: SkySmart
3 Replies
3. UNIX for Dummies Questions & Answers
Are there any one-liners or short codes to separate 4-digit numbers into 2?
For example, input.txt:
1234
5678
3091
2851
Output.txt:
12 34
56 78
30 91
28 51 (7 Replies)
Discussion started by: pxalpine
7 Replies
4. UNIX for Dummies Questions & Answers
Ok, so i monitor disk space on remote machines using snmp. Works great for me. But whenever a particular partition happens to have Terabytes of data, snmp starts reporting negative values.
Can someone please tell me how to get around this problem?
The AllocationUnit is 512 bytes. Weird... (0 Replies)
Discussion started by: SkySmart
0 Replies
5. UNIX for Dummies Questions & Answers
Hello all,
I have a file with several lines like this:
(1,1) (4,10) (8,23) (17, 4) (6,8) etc.
and I need this:
( 1 , 1 ) ( 4 , 10 ) ( 8 , 23 ) ( 17 , 4 ) ( 6 , 8 )
How do I insert a space between the left parenthesis and the first number, between the first number and the comma,... (2 Replies)
Discussion started by: MDeBiasse
2 Replies
6. Shell Programming and Scripting
Hi I have file which stores dates.
2008-09-12|2008-09-12<space1>00:00:12|<space2>2008-09-12
Some one please help me on how should I use the sub command to replace only the space which has numbers on both sides.
Expected output
2008-09-12|2008-09-1200:00:12|<space2>2008-09-12
--... (4 Replies)
Discussion started by: machomaddy
4 Replies
7. Solaris
This is really strange... my system's du is reporting file size smaller than it really is... and it is only happening on one of Solaris 10 I have...
#ls -lrt tracks.txt
-rw-r--r-- 1 oracle oinstall 2166525362 May 16 03:32 tracks.txt
# du -k tracks.txt
953805 tracks.txt
# du -h... (4 Replies)
Discussion started by: JT-KGY
4 Replies
8. Shell Programming and Scripting
can someone help me figure out what's wrong with this awk code?
awk '/CRON/ && /./ {i++;} { if((i>=4) && (i<8)) {print | "TIMO=$(date +%s) ; TIMO2=$(uname;who) ; echo $TIMO ---- 1 ---- Yes_Recoded,$TIMO2 ---- i >> /tmp/gona.txt" }
else if (i>=8) {print | "TIMO=$(date +%s) ;... (2 Replies)
Discussion started by: SkySmart
2 Replies
9. Shell Programming and Scripting
Hi,
I have a file which looks like this
FORD|1333-1| 10000100010203| 100040507697|0002|356.45|5555| SSSSY|KKKKM|1000005|10| N096|10043| C987
I need the output to look like this
FORD|1333-1|10000100010203|100040507697|0002|356.45|5555| SSSSY|KKKKM|1000005|10| N096|10043| C987
The leading... (8 Replies)
Discussion started by: wahi80
8 Replies
10. UNIX for Beginners Questions & Answers
username=cogiz
#!/bin/bash
shuffle() #@ USAGE: shuffle
{ #@ TODO: add options for multiple or partial decks
Deck=$(
printf "%s\n" {2,3,4,5,6,7,8,9,T,J,Q,K,A}{H,S,D,C} |
awk '## Seed the random number generator
BEGIN { srand() }
## Put a random number in front... (4 Replies)
Discussion started by: cogiz
4 Replies
LEARN ABOUT DEBIAN
xkbsetnamedindicator
XkbSetNamedIndicator(3) XKB FUNCTIONS XkbSetNamedIndicator(3)
NAME
XkbSetNamedIndicator - Names an indicator if it is not already named; toggles the state of the indicator; sets the indicator to a specified
state and sets the indicator map for the indicator
SYNOPSIS
Bool XkbSetNamedIndicator (Display *dpy, unsigned int device_spec, Atom name, Bool change_state, Bool state, Bool create_new, XkbIndica-
torMapPtr map);
ARGUMENTS
- dpy connection to the X server
- device_spec
device ID, or XkbUseCoreKbd
- name name of the indicator to change
- change_state
whether to change the indicator state or not
- state
desired new state for the indicator
- create_new
whether a new indicator with the specified name should be created when necessary
- map new map for the indicator
DESCRIPTION
If a compatible version of the Xkb extension is not available in the server, XkbSetNamedIndicator returns False. Otherwise, it sends a
request to the X server to change the indicator specified by name and returns True.
If change_state is True, and the optional parameter, state, is not NULL, XkbSetNamedIndicator tells the server to change the state of the
named indicator to the value specified by state.
If an indicator with the name specified by name does not already exist, the create_new parameter tells the server whether it should create
a new named indicator. If create_new is True, the server finds the first indicator that doesn't have a name and gives it the name specified
by name. If the optional parameter, map, is not NULL, XkbSetNamedIndicator tells the server to change the indicator's map to the values
specified in map.
In addition, it can also generate XkbIndicatorStateNotify, XkbIndicatorMapNotify, and XkbNamesNotify events.
RETURN VALUES
True The XkbSetNamedIndicator function returns True if a compatible version of the Xkb extension is available in the server.
False The XkbSetNamedIndicator function returns False if a compatible version of the Xkb extension is not available in the server.
DIAGNOSTICS
BadAtom A name is neither a valid Atom or None
BadImplementation
Invalid reply from server
SEE ALSO
XkbIndicatorMapNotify(3), XkbIndicatorStateNotify(3), XkbNamesNotify(3)
X Version 11 libX11 1.5.0 XkbSetNamedIndicator(3)