My source is on each line
98.194.245.255 - - "GET /disp0201.php?poc=4060&roc=1&ps=R&ooc=13&mjv=6&mov=5&rel=5&bod=155&oxi=2&omj=5&ozn=1&dav=20&cd=&daz=&drc=&mo=&sid=&lang=EN&loc=JPN HTTP/1.1" 302 - "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.0.3705; .NET CLR... (5 Replies)
I have a file (test.dat) which contains data like this
459|199811047|a |b |shan
kar|ooty|
460|199811047|a |bv |gur
u|cbe|
but I need it like:
459|199811047|a |b |shankar|ooty|
460|199811047|a |b |guru|cbe|
While reading the data from this file, I don't want to remove newline from the end of... (4 Replies)
I am working with the ksh shell in HP UNIX and I am attempting to extract a word, beginning with a particular string and ending at the first space. for example I want to extract the word or string MS_RECENT_ACTIVITY from the following string
" This has been entered in MS_RECENT_ACTIVITY the... (2 Replies)
here is what i want to achieve... consider a file contains below contents. the file size is large about 60mb
cat dump.sql
INSERT INTO `table1` (`id`, `action`, `date`, `descrip`, `lastModified`) VALUES (1,'Change','2011-05-05 00:00:00','Account Updated','2012-02-10... (10 Replies)
var=abc_cde_def_ghi_678.txt
Expected output:
cde_def_ghi_678.txt
Is there a better way to achive this other than cut command?
Basically, I need to remove the 1st word and _ from the string.
Thanks. (1 Reply)
Hello
I have a string that may or may not have 4 dots.
The string is actualy a file within a folder, where multiple files are located.
Files may look like:
# ls *
creds:
192.168.10.110 someserver
shares:
192.168.10.110.Public someserver.sharefolder
#
I want to fill 2 variables,... (1 Reply)
How can I use sed or any utility to remove any word that begins with TRS-, I have tried sed 's/ERA.*//g' but seems not to be working
Input:
23 TRS-458-9 345 235
45 TRS-42-5 423 000
76 300 234
Output:
23 345 235
45 423 000
76 300 234 (5 Replies)
Hello,
I try to delete all strings if their first or last word is one of this list of words : "the", "i", "in", "there", "this", "with", "on", "we", "that", "of"
For example if i have this string in an input file "with me" this string will be removed,
Example: input
"the european... (2 Replies)
hello.
How to remove first word from line. The line may or may not start with blank.
NEW_PARAM1=$(magic-command " -t --protocol=TCP -P 12345-u root -h localhost ")
NEW_PARAM2=$(magic-command "-t --protocol=TCP -P 12345 -u root -h localhost ")
I want NEW_PARAM1 equal to NEW_PARAM2 equal ... (2 Replies)
Hello,
I wish to remove any word coming after searched string found in a word.
source*.txt
#!bin/bash
#test1
http://www.aa.bb.cc http://www.xx.yy http://www.11.22.44
#test2
http://www.11.rr.cd http://www.01.yy http://www.yy.22.tt
#test3
http://www.22.qq.fc http://www.0x.yy... (15 Replies)
Discussion started by: baris35
15 Replies
LEARN ABOUT DEBIAN
hobbitd_client
HOBBITD_CLIENT(8) System Manager's Manual HOBBITD_CLIENT(8)NAME
hobbitd_client - hobbitd worker module for client data
SYNOPSIS
hobbitd_channel --channel=client hobbitd_client [options]
DESCRIPTION
hobbitd_client is a worker module for hobbitd, and as such it is normally run via the hobbitd_channel(8) program. It receives hobbitd
client messages sent from systems that have the the Xymon client installed, and use the client data to generate the Xymon status messages
for the cpu-, disk-, memory- and procs-columns. It also feeds Xymon data messages with the netstat- and vmstat-data collected by the
client.
When generating these status messages from the client data, hobbitd_client will use the configuration rules defined in the hobbit-
clients.cfg(5) file to determine the color of each status message.
OPTIONS --clear-color=COLOR
Define the color used when sending "msgs", "files" or "ports" reports and there are no rules to check for these statuses. The
default is to show a "clear" status, but some people prefer to have it "green". If you would rather prefer not to see these status
columns at all, then you can use the "--no-clear-msgs", "--no-clear-files" and "--no-clear-ports" options instead.
--no-clear-msgs
If there are no logfile checks, the "msgs" column will show a "clear" status. If you would rather avoid having a "msgs" column, this
option causes hobbitd_client to not send in a clear "msgs" status.
--no-clear-files
If there are no file checks, the "files" column will show a "clear" status. If you would rather avoid having a "files" column, this
option causes hobbitd_client to not send in a clear "files" status.
--no-clear-ports
If there are no port checks, the "ports" column will show a "clear" status. If you would rather avoid having a "ports" column, this
option causes hobbitd_client to not send in a clear "ports" status.
--no-ps-listing
Normally the "procs" status message includes the full process-listing received from the client. If you prefer to just have the moni-
tored processes shown, this option will turn off the full ps-listing.
--no-port-listing
Normally the "ports" status message includes the full netstat-listing received from the client. If you prefer to just have the moni-
tored ports shown, this option will turn off the full netstat-listing.
--config=FILENAME
Sets the filename for the hobbit-clients.cfg file. The default value is "etc/hobbit-clients.cfg" below the Xymon server directory.
--dump-config
Dumps the configuration after parsing it. May be useful to track down problems with configuration file errors.
--test Starts an interactive session where you can test the hobbit-clients.cfg configuration.
--debug
Enable debugging output.
FILES
~xymon/server/etc/hobbit-clients.cfg
SEE ALSO hobbit-clients.cfg(5), hobbitd(8), hobbitd_channel(8), xymon(7)Xymon Version 4.2.3: 4 Feb 2009 HOBBITD_CLIENT(8)