how can I find cpu usage memory usage swap usage and
I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times
my final destination is monitor process
logical volume usage above X % and number of Logical voluage above
can I not to... (3 Replies)
I need a little help with sed. Basically, I need to parse out selections from the output of hddtemp so conky can display some hdd temps for me. I have hddtemp in daemon mode so A simple 'nc localhost 7634' displays the following:
$ nc localhost 7634... (3 Replies)
Hi all,
Can you please tell me the command, with which one can know the amount of space a specific directory has used.
df -k . ---> Displays, the amount of space allocated, and used for a directory.
du -k <dir name> - gives me the memory used of all the files inside <dir>
But i... (2 Replies)
So I have this sed command below. The content of the tmp.txt file is
dv01:at01,at05,at02:at04
sed 's/\:.*\,/\,/g' tmp.txt
Which produces
dv01,at02:at04
and I'm trying to use sed to get me
dv01,at05,at02
Stripping out the parts leading with ":". My sed is pretty basic, can... (5 Replies)
Hi guys,
I'm currently trying to understand a piece of shell script and it has some sed commands. I've been looking through sed tutorials to figure out what it does but still no luck :confused:
Can any of you guys tell me what this particular command does?
sed -i '1i\.options' a/*
... (1 Reply)
I have a html file with the following content:-
<font face=verdana color=#000000>108946</font>
<font face=verdana color=#000000>234346</font>
I want to format the values inside the font tag using thousand separator. I have the following command which can be used for adding thousand... (4 Replies)
Hi, I'm trying to find the first field in a text file with the below sed command but it doesn't seem to be correct for running on Solaris.. It has no problem running on AIX. Anyone got a suggestion what the problem is?
sed 's/^\(\+\) /OK/'
The eventual goal is to separate the columns in a... (5 Replies)
for j in $(cat ${list_B})
do
to_replace_2=$(grep $j ${useralias}_2)
sed "s/^${j}/${to_replace_2}/p" ${entries} > ${entries}_2
mv ${entries}_2 ${entries}
done
Hi,
I've the above sed command running in a script. Its basically looping through a file and replacing its beginning of line... (8 Replies)
Hi,
Can anyone let me know the sed command usage
requirement:
sed 's/standard/standard_and/' <new.txt>new.txt
here it needs to search for the pattern "standard" in the file new.txt and it should replace as "standard_and" in the same file new.txt
Note: new.txt is having a separator... (8 Replies)
Hey all,
so I've been experimenting with SED today, no experience before today, so if you're not patient, stop reading now! :P
I will attempt to explain this as simply as possible, without having to post massive walls of shitty code. Basically, I've created a small sed script to go through an... (9 Replies)
Discussion started by: Parrakarry
9 Replies
LEARN ABOUT SUNOS
intltool-update
intltool-update(1) User Commands intltool-update(1)NAME
intltool-update - update .po file with marked translatable strings from the application source code
SYNOPSIS
intltool-update [--headers] [--help] [--maintain] [--pot] [--report] [--verbose] [--version] language-code
DESCRIPTION
The intltool-update, intltoolize, intltool-extract, and intltool-unicodify utilities identify localizable content in application source
code, and extract this content into translatable .po message catalog files.
intltool-update updates the message catalog files with the translatable content from the application source code.
OPTIONS
The following options are supported:
--headers Generate the header files in the POTFILES.in file. You can also use -s to specify this option.
--help Show usage and basic help information.
--maintain Search for files that have been omitted from the POTFILES.in file. You can also use -m to specify this option.
--pot Generate the PO template only. You can also use -p to specify this option.
--report Display a status report for the module. You can also use -r to specify this option.
--verbose Provide additional feedback. You can also use -x to specify this option.
--version Show version information.
OPERANDS
The following operands are supported:
language-code Specifies the language code of the file that you wish to update with new translatable content.
EXAMPLES
Example 1: Updating a Message Catalog .pot File With All Marked Translatable Content
example% intltool-update --pot
Example 2: Updating a Message Catalog .po File for the French Language Based on the Current Contents of the .pot File
example% intltool-update fr
EXIT STATUS
The following exit values are returned:
0 Application exited successfully
>0 Application exited with failure
FILES
The following files are used by this application:
/usr/bin/intltool-updateThe command-line executable for the application.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWgnome-common-devel |
+-----------------------------+-----------------------------+
|Interface stability |External |
+-----------------------------+-----------------------------+
SEE ALSO intltool-extract(1), intltool-merge(1), intltool-prepare(1), intltool-unicodify(1), intltoolize(1)NOTES
For more information, see the I18N-HOWTO file, which is provided with the intltool source code.
Updated by Damien Donlon, Sun Microsystems Inc., 2003. Written by Darin Adler, Kenneth Christiansen, Maciej Stachowiak.
SunOS 5.10 3 Apr 2003 intltool-update(1)