9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am using Sun OS 5.10
I am Using nawk to extract specific column from csv file.
The third column of csv is the time in Milliseconds and I need to convert it to Date then save it in another csv file.
I am use this command to extract the columns I need and save it in tttn.csv
nawk 'BEGIN... (6 Replies)
Discussion started by: Hozaifa
6 Replies
2. Shell Programming and Scripting
Hi All,
I have one file which contains time for request and response.
I want to calculate time difference in milliseconds for each line.
This file can contain 10K lines.
Sample file with 4 lines.
for first line.
Request Time: 15:23:45,255
Response Time: 15:23:45,258
Time diff... (6 Replies)
Discussion started by: Raza Ali
6 Replies
3. Shell Programming and Scripting
I am looking at some practice problems from a book involving the time utility and I am a little confused on what to do. Here is what it is telling me to do:
-Compile your sort:
gcc -o sort1 sort1.c quicksort.c
-For each input file, ins.n0000, get the time to execute:
time sort1 <... (7 Replies)
Discussion started by: totoro125
7 Replies
4. Solaris
Hey everyone,
I'm coming from Linux where the top command gave me lots of process
info (particularly CPU time in milliseconds) and I'm trying to find
similar info in Solaris.
So far I've looked at prstat and ps but neither give cpu time in
milliseconds, both seem to have 1 second... (2 Replies)
Discussion started by: maniac_ie
2 Replies
5. Shell Programming and Scripting
I use something like this in perl to get the date and time:
use Time::localtime;
use Time::gmtime;
$tm = gmtime;
$time_str = sprintf "%04d-%02d-%02d %02d:%02d:%02d",
$tm->year + 1900, $tm->mon + 1, $tm->mday,
$tm->hour, $tm->min, $tm->sec;
It gives me something like this:
2010-08-26... (1 Reply)
Discussion started by: lforum
1 Replies
6. Shell Programming and Scripting
Hi guys,
I know that this topic has been discuss numerous times, and I have search the net and this forum for it.
However, non able to address the problem I faced so far.
I am on Solaris Platform and unable to install additional packages like the GNU date and gawk to make use of their... (5 Replies)
Discussion started by: DrivesMeCrazy
5 Replies
7. Solaris
Hi....
i need to pass the dates (from - to) as the input parameters thru jcl invoking BPXBATCH utility. I know that PARM will do the above functionality. But how the above dates passed through jcl will be linked in the java-db2 program to be used in sql queries in order to generate the report... (0 Replies)
Discussion started by: Sujatha Gowda
0 Replies
8. Shell Programming and Scripting
hello,
I have the uptime of the server showing as upTime=2427742050
How do I convert it to standard time.
Thanks
Chiru (1 Reply)
Discussion started by: chiru_h
1 Replies
9. Programming
I need a c function which return the time in:
hour min sec and mil sec
I am writing on unix os. (3 Replies)
Discussion started by: kamil
3 Replies