is not what I meant. Try (untested!):
The 02 is a valid octal number, while the "command substitution" 's result might not be. Another option might be to suppress the leading 0 by printing 0 + substr (...).
hi
i have a peculiar problem...i have a number of stirngs separated by a '/0'. it looks somethings like:
char test="abk\0jsdhj\01234\0"
actually i will be reading this from a file or something...
im supposed to change the \0 to a ','
but in C the octal representation starts with a '\'...... (1 Reply)
Hi,
Is there any way to display the permissions in octal format rather than "rwxrwxrwx" format.
I have a file and i want to see the permissions in octal format. Please help. (11 Replies)
Hello everybody,
I would like to understand why the printf function is returning me an octal value with this command :
printf %4.4d 0010 returns 0008
printf %4.4d 10 returns 0010
Thanks for help. (3 Replies)
Is there seriously not an easy way to do this? you really need a script for it? that is ridiculous! Please someone tell me there is an ls switch to view octal permissions instead of rwx i want 777. (1 Reply)
Hello all
I started computer science and C++ programming only 6 weeks ago with no prior knowledge. It's a great language, the only other one apart from English that I hope to speak fluently quite soon. I look forward to participating further on these forums, seeking answers and looking at previous... (3 Replies)
Using korn shell. I am reading a file line by line. If a record has a carriage return (octal 015) then I append the second record to the first record. Not all records have a carriage return. I have the unix shell script working with grep, but when my file has +100,000 records it runs slow. I would... (3 Replies)
Hi, I have downloaded a web page that I need to cleanup before passing to xmlstarlet.
Using UltraEdit's HEX utility part of my download is as follows:
3C 2F 61 3E 0A 09 0A 09 09 3C 2F 61 3E
which in ASCII is
</a>
</a>
I need to locate this string and replace it with just... (7 Replies)
As the title says, who does remember them?
I still have my ten digit one and is fully active.
IIRC it was the then user's account number, and mine came in 'xxxxxx,xxxx' format where the comma had to be replaced by a period.
The text mode __browser__ CIS, (Compuserve Information Srevice), was... (0 Replies)
Discussion started by: wisecracker
0 Replies
LEARN ABOUT DEBIAN
gstat
GSTAT(1) User Commands GSTAT(1)NAME
gstat - manual page for Ganglia Status Tool
SYNOPSIS
gstat [OPTIONS]...
DESCRIPTION
The Ganglia Status Client (gstat) connects with a Ganglia Monitoring Daemon (gmond) and outputs a load-balanced list of hosts
-h, --help
Print help and exit
-V, --version
Print version and exit
-a, --all
List all hosts. Not just hosts running gexec (default=off)
-d, --dead
Print only the hosts which are dead (default=off)
-m, --mpifile
Print a load-balanced mpifile (default=off)
-1, --single_line
Print host and information all on one line (default= off)
-l, --list
Print ONLY the host list (default=off)
-n, --numeric
Print numeric addresses instead of hostnames (default=off)
-i, --gmond_ip=STRING
Specify the ip address of the gmond to query (default=`localhost')
-p, --gmond_port=INT
Specify the gmond port to query (default=`8649')
AUTHOR
Matt Massie <massie@cs.berkeley.edu>
REPORTING BUGS
Report all bugs to the Ganglia Bugzilla Page at
http://bugzilla.ganglia.info/cgi-bin/bugzilla/index.cgi
COPYRIGHT
Copyright (c) 2001, 2002, 2003, 2004, 2005 by The Regents of the University of California. All rights reserved.
Permission to use, copy, modify, and distribute this software and its documentation for any purpose, without fee, and without written
agreement is hereby granted, provided that the above copyright notice and the following two paragraphs appear in all copies of this soft-
ware.
IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABIL-
ITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO
OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
gstat March 2008 GSTAT(1)