Hi
I have the following requirement. i have the following line from a log file
one : two : Three : four : five : six : seven : eight :nine :ten
Now can you pls help what i should do to get only the following output from the above line
two : five : six : seven : Eight
appreciate your... (3 Replies)
How to grep multiple string occurance in input file using single grep command? I have below input file with many IDP, RRBE messages. Out put should have count of each messages.
I have used below command but it is not working
grep -cH "(sent IDP Request)(Recv RRBCSM)" *.txt ... (5 Replies)
hi ,
i have an xml that comes in a single, the entire xml file is read as a single line when i open in edit plus or unix. i need to amend the contents of this xml file.
below is the extract from the file
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"... (5 Replies)
input file
Desired csv output
gc_type, date/time, milli secs
af, Mar 17 13:09:04 2011, 144.596
af, Mar 20 00:37:37 2011, 144.242
af, ar 20 21:30:59 2011, 108.518
Hi All,
Any help in acheiving the above would be appreciated. I would like to parse through lines within one file and... (5 Replies)
Hi all,
Please go through my requirement.
I have a log file in the location /opt/WebSphere61/AppServer/profiles/EMQbatchprofile/logs/EMQbatch
This file contains the follwing pattern data
<af type="tenured" id="42" timestamp="May 14 13:44:13 2011" intervalms="955.624">
<minimum... (8 Replies)
I am trying to extract multiple strings from snmp-mib files like below.
-----
$ cat IF-MIB.mib
<snip>
linkDown NOTIFICATION-TYPE
OBJECTS { ifIndex, ifAdminStatus, ifOperStatus }
STATUS current
DESCRIPTION
"A linkDown trap signifies that the SNMP entity, acting in... (5 Replies)
Hi,
I wasn't quite sure how to title this one! Here goes:
I have some already partially parsed log files, which I now need to extract info from. Because of the way they are originally and the fact they have been partially processed already, I can't make any assumptions on the number of... (8 Replies)
Hello
I have an output that has a string between quotes and another between square brackets on the same line. I need to extract these 2 strings Example line
Device "nrst3a" attributes=(0x4) RAW SERIAL_NUMBER=SNL2
Output should look like
nrst3a VD073AV1443BVW00083
I was trying with sed... (3 Replies)
Hi All,
From the below file. I need to get only the first occurrence and print. I tried to do it in separate grep not coming as expected
Original file
11001;1213;304;;;;;;;111020677.64;;;;;;;;;;;;;;;;;;;;;;;;;;
11001;1214;304;;;;;;;102376462.96;;;;;;;;;;;;;;;;;;;;;;;;;;... (5 Replies)
Hi,
I need help to match patterns from between two different files and extract region of strings.
inputfile1.fa
>l-WR24-1:1
GCCGGCGTCGCGGTTGCTCGCGCTCTGGGCGCTGGCGGCTGTGGCTCTACCCGGCTCCGG
GGCGGAGGGCGACGGCGGGTGGTGAGCGGCCCGGGAGGGGCCGGGCGGTGGGGTCACGTG... (4 Replies)
Discussion started by: bunny_merah19
4 Replies
LEARN ABOUT DEBIAN
whowatch
WHOWATCH(1) General Commands Manual WHOWATCH(1)NAME
whowatch - console, interactive, process and users monitoring tool.
DESCRIPTION
Whowatch is an console, interactive users and process monitoring tool. It displays information about the users currently logged on to the
machine, in real-time. Besides standard informations (login name, tty, host, user's process), the type of the connection (ie. telnet or
ssh) is shown. Display of users command line can be switch to tty idle time. Certain user can be selected and his processes tree may be
viewed as well as tree of all system processes. Tree may be displayed with additional column that shows owner of each process. In the
process tree mode SIGINT and SIGKILL signals can be sent to the selected process. Killing processes is just as simple and fun as deleting
lines on the screen.
Whowatch has no command line options or configuration file. All actions are performed in real time by pressing following keys:
Users list mode:
'up' 'down'
cursor movement
'i' toggle between user command line and idle time
'c' full command line on/off. Disabling full command line can save CPU time. It can give you also some additional information about
process executable.
'enter'
view selected user's processes tree.
't' all system processes (init tree)
Tree mode:
'up' 'down'
cursor movement
'enter'
go back to users list
'o' show processes owners
'c' full command line on/off. Disabling full command line can save CPU time. It can give you also some additional information about
process executable.
'Ctrl-I'
send INT signal to selected process
'Ctrl-K'
send KILL signal to selected process
PLUGINS
Whowatch has ability to load plugin during program run. Plugin prints information inside details window. Plugins gives flexibility: if
some specific information about process, user or system is needed then separate program could be written to obtain such information. Since
there are three kinds of deatils window (process, user and system) maximum three plugins can be loaded. Whowatch has very simple API to
write plugins.
FILES
Program reads /var/log/wtmp, /var/run/utmp. Under Linux program also reads files from /proc directory. Without read access to these files
whowatch funcionality will be limited or program will not even start.
SEE ALSO finger(1)ps(1), pstree(1), top(1), w(1), lsof(8), kill(1)killall(1)BUGS
Because lack of ut_pid in utmp and wtmp structures in *BSD systems, program tries to obtain pid of a login shell by analizing processes
controlling terminal and processes names. Under some conditions it may lead to incorrect results ie. there will be incorrect processes tree
associated with user's session.
AUTHOR
Michal Suszycki <mike@wizard.ae.krakow.pl>,
http://wizard.ae.krakow.pl/~mike
Tree functions written by Jan Bobrowski <jb@wizard.ae.krakow.pl>,
http://wizard.ae.krakow.pl/~jb
27 Feb 2000 WHOWATCH(1)