03-12-2014
do you see errors, or the output file is not what you want?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I would like to convert epoch time from the logs to readible fromat.
How do I do it within shell?
Thanks! (11 Replies)
Discussion started by: cin2000
11 Replies
2. 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
3. Shell Programming and Scripting
I have a file named "suspected" with series of line like these :
{'protocol': 17, 'service': 'BitTorrent KRPC', 'server': '219.78.120.166', 'client_port': 52044, 'client': '10.64.68.44', 'server_port': 8291, 'time': 1226506312L, 'serverhostname': ''}
{'protocol': 17, 'service': 'BitTorrent... (3 Replies)
Discussion started by: rk4k
3 Replies
4. 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
5. 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
6. Shell Programming and Scripting
Here is two time I have:
Jul 12 16:02:01
Jul 13 01:02:01
and how can I do a simple match to get difference between two time which is 09:00:00
Thanks in advance. (3 Replies)
Discussion started by: ford99
3 Replies
7. Shell Programming and Scripting
Looking for some help and usually when I do a search this site comes up. Hopefully someone can give me a little direction as to how to use one of these two commands to achieve what I'm trying to do.
What am I trying to do?
I need to take the time value in epoch format returned from the... (5 Replies)
Discussion started by: minigts
5 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
Hello Experts,
Below is the record i have:
sample data attached
I want this record of each row to be in single line and there are multiple rowise unixtime mentioned e.g 11996327 , This needs to be converted to Human readdable data and time from multiple rows
Can you help me , it will be... (10 Replies)
Discussion started by: manishK
10 Replies
10. Shell Programming and Scripting
I am trying to create a script that will take epoch (input from command line) and convert it into a readable format in bash/shell
---------- Post updated at 08:03 PM ---------- Previous update was at 07:59 PM ----------
#!bin/bash
read -p "Please enter a number to represent epoch time:"... (9 Replies)
Discussion started by: sprocket
9 Replies
LEARN ABOUT CENTOS
edac-util
EDAC-UTIL(1) EDAC error reporting utility EDAC-UTIL(1)
NAME
edac-util - EDAC error reporting utility.
SYNOPSIS
edac-util [OPTION]...
DESCRIPTION
The edac-util program reads information from EDAC (Error Detection and Correction) drivers in the kernel, using files exported by these
drivers in sysfs. With no options, edac-util will report any uncorrected error (UE) or corrected error (CE) information recorded by EDAC,
along with any DIMM label information registered with EDAC.
OPTIONS
-h, --help
Display a summary of the command-line options.
-q, --quiet
Quiet mode. For some reports, edac-util will report corrected and uncorrected error counts for all MC, csrow, and channel combina-
tions, even if the current count of errors is zero. The --quiet flag will suppress the display of any locations with zero errors,
thus creating a more terse report. No output will be generated if there are zero total errors currently recorded by EDAC. Addition-
ally, the use of --quiet will suppress all informational and debug messages, displaying only fatal errors.
-v, --verbose
Increase verbosity. Multiple -v's may be used.
-s, --status
Displays the current status of EDAC drivers. edac-util will report whether it detects that EDAC drivers are loaded, and the number
of memory controllers (MCs) found in sysfs. In verbose mode, the MC id and name of each controller will also be printed.
-r, --report=report,...
Specify the report to generate. Currently, the available reports are default, simple, full, ue, and ce. These reports are detailed
in the EDAC REPORTS section below. More than one report may be specified in a comma-separated list.
EDAC REPORTS
default
The default edac-util report is generated when the program is run without any options. If there are no errors logged by EDAC, this
report will display "No errors to report." to stdout. Otherwise, error counts for each MC, csrow, channel combination with attrib-
uted errors are displayed, along with corresponding DIMM labels, if these labels have been registered in sysfs.
The default report will also display any errors that do not have any DIMM information. These errors occur when errors are reported
in the memory controller overflow register, indicating that more than one error occurred during a given EDAC poll cycle. It is usu-
ally obvious from which DIMM locations these errors were generated.
simple The simple report reports total corrected and uncorrected errors for each MC detected on the system. It also displays a tally of
total errors. With the --quiet option, only non-zero error counts are displayed.
full The full report generates a line of output for every MC, csrow, channel combination found in EDAC sysfs. This includes counts of
errors with no information ("noinfo" errors). Output is of the form:
MC:(csrow|noinfo):(label|all):(UE|CE):count
With the --quiet option, only non-zero error counts will be displayed.
ue This report simply displays the total number of Uncorrected Errors (UEs) detected on the system. With the --quiet option, output
will be suppressed unless there are 1 or more errors to report.
ce This report simply displays the total number of Corrected Errors (CEs) detected on the system. With the --quiet option, output will
be suppressed unless there are 1 or more errors to report.
SEE ALSO
edac(3), edac-ctl(8)
edac-utils-0.16-1 2009-01-30 EDAC-UTIL(1)