Hi, I've got this requirement for my homework assignment, but I'm not sure how to meet it:
In the comamnd line, I need to type
$ <exec-file> <input> <output_file_name>
Like:
test 1+2 out.txt
Which should execute test.exe passing in 1+2 and directing output to out.txt.
I know how... (1 Reply)
Hello,
like the title says, how can i measure the time it takes to load a module in Linux, and how how can i measure the time it takes to load a statically compiled module.
/Best Regards Olle
---------- Post updated at 01:13 PM ---------- Previous update was at 11:54 AM ----------
For... (0 Replies)
Dear experts
I have a 200MG text file in this format:
text \tab number
I try to sort using options -fd and it takes very long! is that normal or I can speed it up in some ways?
I dont want to split the file since this one is already splitted.
I use this command: sort -fd file >... (12 Replies)
Hello all!
I need to take a series of inputs passed to one shell script and pass them to a second shell script.
For example, the first shell script, script_one.sh, has the following inputs:
./script_one -u username -p password -option1 string1 -option2 -string2 ....Inside of script_one.sh... (4 Replies)
I need to run sql script from shell script which takes the input from a file and contents of file will be like :
12345
34567
78657
and query will be like :
select seq_nbr from bus_event where event_nbr='12345';
select seq_nbr from bus_event where event_nbr='34567';
select seq_nbr... (1 Reply)
When I am trying to login to a server using Putty ssh from my windows xp machine it is taking too much time for login.
My server name is http2 and when I enter this address into putty I immediately get
login as:
screen, but after I put my username root and enter the cursor moves downwards... (14 Replies)
telnet or rsh or ftp to an AIX machine takes too much time, like have to wait 3 minutes before the prompt appears.
What can I look to troubleshoot this problem
thanks (4 Replies)
Hi,
I wish to check the return value for wget $url.
However, some urls are designed to take 45 minutes or more to return.
All i need to check if the URL can be reached or not using wget.
How can i get wget to return the value in a few seconds ? (8 Replies)
I have a flat file that contains a list of IP address following 6 additional lines.
I would like to get a help in the following. a shell script that would take ip address or list of ip addresses as input, search one by one the ip address in the file and as soon as it find the exact match it... (12 Replies)
Discussion started by: knijjar
12 Replies
LEARN ABOUT SUSE
getdelays
GETDELAYS(1) General Commands Manual GETDELAYS(1)NAME
getdelays -- Display delay statistics
SYNOPSIS
getdelays -c command
getdelays -p pid
getdelays -t tid
DESCRIPTION
The getdelays utility helps pin-point possible resource shortages when running an application. The SLES10 kernel includes patches to imple-
ment delay accounting, which measures the time a process spends waiting for disk I/O, swap I/O and CPU time slices. For example, if an
application is running rather slowly, delay accounting can tell you where it spends all its time.
For instance, when the CPU delay is high, this means the application is competing with other proces for run time, but is losing quite
often.
High memory delays mean that the sum of applications running on this system need more physical memory than is available, and are swapping
quite a lot.
In order to enable delay accounting, you need to specify delayacct on the kernel command line when booting the system.
Getdelays has three modes of operation:
getdelays -c command
This will invoke command and print a summary of delay statistics when the command finishes.
getdelays -p pid
This will print the current delay statistics of the process identified pid.
getdelays -t tid
This will print the current delay statistics of the thread group identified tid.
AUTHOR
Balbir Singh, IBM Corp.
Shailabh Nagar, IBM Corp.
Manpage contributed by Olaf Kirch <okir@suse.de>
April 13, 2006 GETDELAYS(1)