Guys,
Any idea how to continue suspended job in background ?
ihave tried to use the bg% command <root> but it doesnt work.
unix> jobs
+suspended du > usage
-suspended (sleep 60; date)
unix> bg %2
(sleep 60; date)
But my suspended work doesnt seems to continue run in background.. Any... (6 Replies)
I was in the middle of transferring a file over a slow link (768k) using 'scp'. The system on this end got rebooted by an overzealous co-worker... I've got 500+ megs of the file here and 725 megs to go. I'd really hate to start over. I fear that the answer to my question is that I will have to... (3 Replies)
I want to print entire row of file
awk '{print $0}' inputfile
but sometime before every row have space characters. Example:
" HVLR is not in service on AP 54"
How can i print entire row without space characters ?
thanks (3 Replies)
Are you sure you want to continue connecting (yes/no) need a way to pass in the value yes without use the except command.
I am creating a script to send down files to an application servers every time it reboots as it picks up the newest image. I do not want to manual connect to each server... (1 Reply)
How can I get a script to complete a update, varifiy completion, resboot, and continue with script?
Is it possbile to get script to add itself to the "startup application" list
#!/bin/bash
clear
sudo apt-get update
#Verify/test the update completed
#Reboot
#Start/comtinue... (9 Replies)
Okay so I am having trouble understand what the computer will do with a code like this
if ; then
echo
echo "Found the file"
blah blah blah
for i in `blah blah blah` ; do
... (2 Replies)
Hey all. First-time poster, long-time reader
I'm on Mac, and I've written a long script to open up a maximum of 20 Terminal windows and run a subscript with a different input in each of them. When each of these sub-scripts finishes, it changes the value of a variable ("$windows") by -1, which... (4 Replies)
i have script which get Input via READ value and compare it from file.
when found do some stuff...if not found again ask for Input until you dont enter Right value.
#!/bin/ksh
echo "SID must be in oratab file"
echo "Enter ORACLE_SID of Database:\c "
read ORACLE_SID
x=`cat /etc/oratab|... (3 Replies)
Dear Help,
Is it possible to continue the loop by going to the next available value, if the 'expected value' is not found. I have a list of values which might not get incremented by fixed value and hence the loop could break and the script could terminate.
Any suggestion is appreciated.
... (1 Reply)
I have a case statement. IS "continue" working in case?
for file in ls dir/*
case $file in
a)
do something
continue
;;
b)
do something
continue
;;
esac
It is a Bourne shell (13 Replies)
Discussion started by: digioleg54
13 Replies
LEARN ABOUT CENTOS
papi_flops
PAPI_flops(3) PAPI PAPI_flops(3)NAME
PAPI_flops -
Simplified call to get Mflops/s (floating point operation rate), real and processor time.
SYNOPSIS Detailed Description
C Interface:
#include <papi.h>
int PAPI_flops( float *rtime, float *ptime, long long *flpops, float *mflops );
Parameters:
*rtime total realtime since the first call
*ptime total process time since the first call
*flpops total floating point operations since the first call
*mflops incremental (Mega) floating point operations per seconds since the last call
Return values:
PAPI_EINVAL The counters were already started by something other than PAPI_flops().
PAPI_ENOEVNT The floating point operations event does not exist.
PAPI_ENOMEM Insufficient memory to complete the operation.
The first call to PAPI_flops() will initialize the PAPI High Level interface, set up the counters to monitor the PAPI_FP_OPS event and
start the counters.
Subsequent calls will read the counters and return total real time, total process time, total floating point operations since the start of
the measurement and the Mflop/s rate since latest call to PAPI_flops(). A call to PAPI_stop_counters() will stop the counters from running
and then calls such as PAPI_start_counters() or other rate calls can safely be used.
PAPI_flops returns information related to theoretical floating point operations rather than simple instructions. It uses the PAPI_FP_OPS
event which attempts to 'correctly' account for, e.g., FMA undercounts and FP Store overcounts, etc.
See Also:
PAPI_flips()
PAPI_ipc()
PAPI_epc()
PAPI_stop_counters()
Author
Generated automatically by Doxygen for PAPI from the source code.
Version 5.2.0.0 Tue Jun 17 2014 PAPI_flops(3)