I have many text file reports generated by a Information Assurance tool that I need to get into a .CSV format or Excel tab delimited format. I want to use sed or awk to grab all the information in the sample text file below and create column headings:Risk ID, Risk Level, Category, Description, How... (5 Replies)
I need help to split a filename 'a0crk_user:A0-B0123$#%test' into a0crk_user and A0-B0123 and print the output under 2 different columns namely
User and Status.
for eg. the output should like below:
User Status
---- ------
a0crk_user A0-B0123 (3 Replies)
Hello,
I'm rather new to the world of regular expressions and sed, though am excited by its possibilities. I have a particular task I'd like to achieve, and have googled the topic quite a bit. However, having found some codes that perform a task very similar to what I'd like to do, I can't for... (2 Replies)
Hi, Iam new to unix. I have one input file .
Input file :
ID1~Name1~Place1
ID2~Name2~Place2
ID3~Name3~Place3
I need output such that only first column should change to fixed width column of 15 characters of length.
Output File:
ID1<<12 spaces>>Name1~Place1
ID2<<12... (5 Replies)
Hi all,
I need your help in adding column headings in the below report.
The headings I want are:
Count - Host - Message Type
The command used to create the report is as follows:
for messages in `cat syslog_message_list.txt`
do
grep $messages syslog.`date +%d%m%y`.log | awk '{print $4 " " "... (4 Replies)
Match column 3 in file1 to column 1 in file 2 and replace with column 2 from file2
file 1 sample
SNDK 80004C101 AT
XLNX 983919101 BB
NETL 64118B100 BS
AMD 007903107 CC
KLAC 482480100 DC
TER 880770102 KATS
ATHR 04743P108 KATS... (7 Replies)
Hi all,
I have a file with 3 columns separated by space. Each column has a heading. I want to sort according to the values in the 2nd column (ascending order).
Ex.
Name rank direction
goory 0.05 --+
laby 0.0006 ---
namy 0.31 -+-
....etc.
Output should be
Name rank direction
laby... (3 Replies)
HI I am executing faloowing commands.
mr batch_1 > my_temp.txt ;
mr batch_2 >>my_temp.txt;
mr batch_3 >> my_temp.txt;
mr batch_4 >> my_temp.txt;
and the out put file is as this
cat my_temp.txt
Machine Name Max Load Current Load Factor O/S Status... (3 Replies)
This is my input file :
# cat list 20130430121600, cucm, location,76,2 20130430121600,cucm1,location1,76,4 20130430122000,cucm,location,80,8 20130430122000,cucm1,location1,90,8 20130430140000,cucm1,location1,87,11 20130430140000, cucm,location,67,9
This is the required output
... (1 Reply)
Hi all, I have a report that looks like this:
-------------------------------------------------
-- AOC - XXXXXXX --
-------------------------------------------------
Thread Last Sequence Received Last Sequence Applied Difference
----------... (12 Replies)
Discussion started by: cougartrace
12 Replies
LEARN ABOUT MOJAVE
nettop
nettop(1) BSD General Commands Manual nettop(1)NAME
nettop -- Display updated information about the network
SYNOPSIS
nettop [-ncd] [-m <mode>] [-t <type>] [-s <seconds>] [-p <process-name|pid>] [-n] [-l <samples>] [-L <samples>] [-P]
[-j|k|J <column-name[,column-name]...>]
DESCRIPTION
The nettop program displays a list of sockets or routes. The counts for network structures are updated periodically. While the program is
running the following keys may be used:
q Quit
Up Arrow
Scroll up
Down Arrow
Scroll down
Right Arrow
Scroll Right
Left Arrow
Scroll Left
d Toggle delta output
r Redraw screen
x Toggle human readable numbers
e Expand all
c Collapse all
h Bring up the help menu
j Bring up the column selection menu. In this mode you can enable/disable columns and change their order.
p Bring up the process selection menu. In this mode you can enable/disable processes for display.
l Change to logging mode, redisplay the current data, and quit.
OPTIONS
A list of flags and their descriptions:
-m <mode>
Specify the mode. By default, nettop will monitor TCP and UDP sockets. The following modes are supported:
tcp Only TCP sockets will be monitored
udp Only UDP sockets will be monitored
route Instead of sockets, the routing table will be monitored
-t <type>
Specify the type of interface. By default, all interfaces will be monitored. Multiple interface types may be specified. The fol-
lowing types are supported:
wifi WiFi interfaces
wired Wired interfaces
loopback
Loopback interfaces
awdl Apple Wireless Direct Link interfaces
expensive
Interfaces marked as "expensive", for example via hotspot
undefined
Cases where the underlying socket is not associated with an interface
external
The combination of all defined non-loopback interfaces.
-n Disable address to name resolution
-c Less intensive use of the CPU - draws less often
-d Delta mode
-x Extended display of numbers instead of human readable suffixes such as MiB
-P Display per-process summary only, skipping details of open connections. This is equivalent to selecting "Collapse All" in the
interactive menu.
-s <delay>
Set the delay between updates to <delay> seconds. The default delay between updates is 1 second.
-l <samples>
Use logging mode and display <samples> samples, even if standard output is a terminal. 0 is treated as infinity. Rather than
redisplaying, output is periodically printed in raw form.
-L <samples>
Use logging mode and display <samples> samples, even if standard output is a terminal. Output will be in comma-separated val-
ues (CSV) form. 0 is treated as infinity. Rather than redisplaying, output is periodically printed in raw form.
-p <process-name|pid>
Select a process for display. A numeric argument identifies a process by its pid. Alternatively a process name may be given, in
which case all processes with that name will be displayed. The name must be an exact match for the name displayed by nettop, which
may require that the name be truncated, for example launchd.develop instead of launchd.development. The option may be repeated to
select multiple processes.
-j <column name list>
Specifiy a list of column headings to be included in the display. List items are separated by commas. For example, -j uuid,rtt_var
-J <column name list>
Specifiy a list of column headings that are to be the only ones included in the display. List items are separated by commas. For
example, -j uuid,rtt_var. The ordering is currently as per nettop default, but may change in future revisions to match the order of
the supplied column names. For future compatibility it is recommended that any names supplied here are given an order that matches
the output.
-k <column name list>
Specifiy a list of column headings to be excluded from the display. List items are separated by commas. For example, -k rcv-
size,rtt_avg
Darwin May 31, 2019 Darwin