07-17-2010
Sorry, it is working alright, my bad
. Thx guys
---------- Post updated 07-17-10 at 10:38 AM ---------- Previous update was 07-16-10 at 01:24 PM ----------
Hey guys, it seems that
I was right. When I first tested the command, my CPU was not so solicited , so it was at 5.0% .When I rechecked , it was at a grater value, 60%. It seems that when it is formed from 1 digit value, the output is bad ( it prints % on the second column). Have an idea how to fix this ?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
i am writing a script that reads in a file and i just want it to print each element on a new line here is my code and the data that i want to read in
#!/usr/bin/perl
use strict;
use CGI qw(:standard);
use CGI qw(:cgi);
my $data_file = "/tmp/results.txt";
my $configuration;
my... (3 Replies)
Discussion started by: nmeliasp
3 Replies
2. Shell Programming and Scripting
Hi
I have to convert the data in a file
*******
01-20-09 11:14AM 60928 ABC Valuation-2009.xls
01-20-09 11:16AM 55808 DEF GHI Equation-2009.xls
01-20-09 11:02AM 52736 ABC DF Valuation-2009.xls
01-20-09 11:06AM 89600 THE... (6 Replies)
Discussion started by: shekhar_v4
6 Replies
3. Shell Programming and Scripting
Hi,
I had input file with below data,
abcdefghij;20100903040607;1234567891;GLOBAL;
Having values of fields with seperated by semi-colon (;) and ended with line feed (\n).
Through shell script, how can I check the field formatting?
Thanks in advance. (18 Replies)
Discussion started by: Poonamol
18 Replies
4. Shell Programming and Scripting
Hi,
I have data coming in like below. Not all data is like that, these are the problem records that is causing the ETL load to fail. Can you pls help me with combining theese broken records!
001800018000000guyMMAAY~acct name~acct type~~"address part 1
address... (8 Replies)
Discussion started by: varman
8 Replies
5. UNIX for Advanced & Expert Users
HI
I want to make it single row if start with braces i.e. { .Any idea
{1:XXX2460275191}{2:SEC00687921131112201641N}{3:{58910}}{4:
:R:GENL
:C::xx//xx1
:20C::yy//yy1
:2S:xxT}
{1:XXX2460275190}{2:SEC00687921131112201641y}{3:{58911}}{4:
:z:GENL
:v::xx//xx1
:10C::yy//yy1
:4S:xxT
... (2 Replies)
Discussion started by: mohan705
2 Replies
6. Shell Programming and Scripting
Hi,
I have a file of the following format:
AV 103
AV 104
AV 105
AV 308
AV 517
BN 210
BN 211
BN 212
BN 218
and the desired output is :
AV 103-105 3
AV 308 1
AV 517 1
BN 210-212 3 (5 Replies)
Discussion started by: rochitsharma
5 Replies
7. Shell Programming and Scripting
i want to get input and depending on it create new commands for input to expect.
But problem is that after giving date or month as 01-09 it is interpretation as 1-9
echo -n "ENTER DATE "
read d1
echo -n "ENTER MONTH "
read m1
echo -n "ENTER YEAR"
read y1
o=1
i=1
d2=`expr $d1... (1 Reply)
Discussion started by: sagar_1986
1 Replies
8. Shell Programming and Scripting
Hi,
I am generating the following output from my script.
Country,A,B,C,D,E,F
INDIA ,3755019,774604,484749,329838,7333612,442031
CHINA ,3716520,889197,530899,379754,6198475,355768
JAPAN ,52038,30462,231224,147275,1272,498
USA,9494,1130,0,0,15303,451... (5 Replies)
Discussion started by: karumudi7
5 Replies
9. Shell Programming and Scripting
Need assistance on the data extraction using awk
Below is the format and would like to extract the data in another format
-------------------------------------------------------------------------------------------------
Minimum Temperature (deg F )
DAY 1 2 3 4 5 6 7 8 9 10 11... (4 Replies)
Discussion started by: ajayram_arya
4 Replies
LEARN ABOUT DEBIAN
bootchartd
BOOTCHARTD(1) General Commands Manual BOOTCHARTD(1)
NAME
bootchartd - collects process information, CPU statistics and disk usage statistics
SYNOPSIS
bootchartd [start|stop] [bootchart_init=INIT]
DESCRIPTION
bootchartd collects process information, CPU statistics and disk usage statistics from the /proc/ file system. The accumulated log file
may later be visualized using bootchart(1).
bootchartd is commonly used to profile the boot process for the purpose of speeding it up. In this case, it is started by the kernel as
the init process. This is configured by adding the init=/sbin/bootchartd option to the kernel command line -- either interactively or by
editing the bootloader's configuration file. Please refer to the documentation of your bootloader for details (e.g. lilo, grub or yaboot).
After bootchartd is initialized during the boot process, it will start the default init process (/sbin/init) to proceed with the regular
bootup. If, however, an alternative init process is used (e.g. (/sbin/initng), that process may be specified using the bootchart_init=INIT
kernel command line parameter.
Another possibility for using bootchartd is monitoring the resource usage of a specific application or the running system in general. In
this case, bootchartd is started interactively by running bootchartd start and stopped using bootchartd stop.
FILES
/var/log/bootchartd.tgz
default output file
/etc/bootchartd.conf
default configuration file
SEE ALSO
bootchart(1), bootchartd.conf(5)
AUTHOR
bootchart was written by Ziga Mahkovec <ziga.mahkovec@klika.si>.
This manual page was written by Jorg Sommer <joerg@alea.gnuu.de>, for the Debian project (but may be used by others).
2006-03-05 BOOTCHARTD(1)