04-05-2013
Hello
saps19 -->> You are Genius . You have catched what exactly iam looking For .
Can you share the code , it will be Great Help !!!!
Last edited by manishK; 04-05-2013 at 03:42 PM..
Reason: unreadable format
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
The following command provides the usage in 1024-byte blocks
du -ks * | sort -n | echo "$1"
...
1588820 user10
2463140 user11
2464096 user12
5808484 user13
6387400 user14
.....
I am trying to produce an output of first coulmn by multiplying by 1024 so that the output should... (11 Replies)
Discussion started by: ghazi
11 Replies
2. UNIX for Dummies Questions & Answers
Hi
I have a file which has ascii , binary, binary decimal coded,decimal & hexadecimal data with lot of special characters (like öƒ.ƒ.„İİ¡Š·œƒ.„İİ¡Š· ) in it. I want to standardize the file into ASCII format & later use that as source .
Can any one suggest a way a logic to convert such... (5 Replies)
Discussion started by: gaur.deepti
5 Replies
3. Shell Programming and Scripting
This is what I have to start out with
more file
1208217600
1208131200
1193806800
I want to convert the epoch column into a human-readable format. My file has hundreds of these epoch times that I want to loop through and convert. (The epoch time is really the last column of the line)
... (3 Replies)
Discussion started by: snoman1
3 Replies
4. Shell Programming and Scripting
Dear Experts,
I need your help to convert a unix date and time format number in to readable format like dd/mm/yyyy .
I have a text file of more than 10,000 records and it is like
NAME DATE1 COUNTRY DATE2
ABD 1223580395699 USA 1223580395699... (3 Replies)
Discussion started by: shary
3 Replies
5. UNIX for Dummies Questions & Answers
$ quota
Disk quotas for user cqlouis (uid 1254):
Filesystem blocks quota limit grace files quota limit grace
/dev/sdb1 64 300000 320000 8 0 0
$
I want to make the output of command quota in human readable format? How to?
As we... (2 Replies)
Discussion started by: cqlouis
2 Replies
6. Shell Programming and Scripting
Hi
I have a command which returns a timezone, Ej:
root@bsades2: /usr/local/bin # lsuser -a time_last_login israel
israel time_last_login=1279032223
Question: I want to parse this timezone '1279032223' into a 'martes, 13 de julio de 2010 16:43:43' from the ksh shell. Is itt possible?
... (3 Replies)
Discussion started by: iga3725
3 Replies
7. Shell Programming and Scripting
Hello
I have log file from solaris system which has date field converted by Java application using System.currentTimeMillis() function, example is 1280943608380 which equivalent to GMT: Wed, 04 Aug 2010 17:40:08 GMT.
Now I need a function in shell script which will convert 1280943608380... (3 Replies)
Discussion started by: Yaminib
3 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I want to list all the directories present in a particular location and want to display their sizes as well. I know "ls -lh" but it doesn't show the size of the complete directory. So i want something like
dir1 266 MB
dir2 2 KB
dir3 22 MB
...
...
file1 10 Kb
.....
Thanks
Sarbjit (4 Replies)
Discussion started by: sarbjit
4 Replies
9. Shell Programming and Scripting
Can someone help me to write a shell script to convert epoch timestamp into human readable format
1394553600,"test","79799776.0","19073982.728571","77547576.0","18835699.285714"
1394553600,"test1","80156064.0","19191275.014286","62475360.000000","14200554.720000"... (10 Replies)
Discussion started by: Moon1234
10 Replies
10. Programming
Scripting Language: bash shell script, python
I want to parse .nessus file in human readable format. If any one have any ideas please help me. (2 Replies)
Discussion started by: sk151993
2 Replies
PRAUDIT(1) BSD General Commands Manual PRAUDIT(1)
NAME
praudit -- print the contents of audit trail files
SYNOPSIS
praudit [-lnpx] [-r | -s] [-d del] [file ...]
DESCRIPTION
The praudit utility prints the contents of the audit trail files to the standard output in human-readable form. If no file argument is spec-
ified, the standard input is used by default.
The options are as follows:
-d del Specifies the delimiter. The default delimiter is the comma.
-l Prints the entire record on the same line. If this option is not specified, every token is displayed on a different line.
-n Do not convert user and group IDs to their names but leave in their numeric forms.
-p Specify this option if input to praudit is piped from the tail(1) utility. This causes praudit to sync to the start of the next
record.
-r Prints the records in their raw form. Show records and event types in a numeric form (also known as raw form). This option is
exclusive from -s.
-s Prints the records in their short form. Show records and events in a short textual representation. This option is exclusive from -r.
-x Print audit records in the XML output format.
If the raw or short forms are not specified, the default is to print the tokens in their raw form. Events are displayed as per their
descriptions given in /etc/security/audit_event; UIDs and GIDs are expanded to their names; dates and times are displayed in human-readable
format.
FILES
/etc/security/audit_class Descriptions of audit event classes.
/etc/security/audit_event Descriptions of audit events.
SEE ALSO
auditreduce(1), audit(4), auditpipe(4), audit_class(5), audit_event(5)
HISTORY
The OpenBSM implementation was created by McAfee Research, the security division of McAfee Inc., under contract to Apple Computer Inc. in
2004. It was subsequently adopted by the TrustedBSD Project as the foundation for the OpenBSM distribution.
AUTHORS
This software was created by McAfee Research, the security research division of McAfee, Inc., under contract to Apple Computer Inc. Addi-
tional authors include Wayne Salamon, Robert Watson, and SPARTA Inc.
The Basic Security Module (BSM) interface to audit records and audit event stream format were defined by Sun Microsystems.
BSD
August 4, 2009 BSD