OTFAUX(1) User Commands OTFAUX(1)NAME
otfaux - otfaux
DESCRIPTION
otfaux - append snapshots and statistics to existing otf traces
at given 'break' time stamps.
otfaux [Options] <file name>
Options:
-h, --help
show this help message
-V show OTF version
-b <size>
buffer size for read and write operations
-n <n> number of breaks (distributed regularly) if -p and -t are not set, the default for -n is 200 breaks
-p <p> create break every 'p' ticks (if both, -n and -p are specified the one producing more breaks wins)
-t <t> define (additional) break at given time stamp
-F force overwrite old snapshots and statistics
-R delete existing snapshots and statistics only
-f <n> max number of filehandles output
--funcgroups
create functiongroup summaries instead of function summaries
--filegroups
create file group summaries instead of file summaries
-v verbose mode, print break time stamps
-a show advancing progress during operation
--snapshots
write ONLY snapshots but NO statistics
--statistics
write ONLY statistics but NO snapshots
-s a[,b]*
regard given streams only when computing statistics. expects a single token or comma separated list. this implies the '--statis-
tics' option!
-l list existing stream tokens
otfaux 1.10.2 May 2012 OTFAUX(1)
Check Out this Related Man Page
CTLSTAT(8) BSD System Manager's Manual CTLSTAT(8)NAME
ctlstat -- CAM Target Layer statistics utility
SYNOPSIS
ctlstat [-t] [-c count] [-C] [-d] [-D] [-j] [-l lun] [-n numdevs] [-w wait]
DESCRIPTION
The ctlstat utility provides statistics information for the CAM Target Layer. The first display (except for dump and JSON modes) shows aver-
age statistics since system startup. Subsequent displays show average statistics during the measurement interval.
The options are as follows:
-t Total mode. This displays separate columns with the total CTL read and write output, and a combined total column that also
includes non I/O operations.
-c count Display statistics this many times.
-C Disable display of CPU statistics.
-d Display DMA operation time (latency) instead of overall I/O time (latency).
-D Text dump mode. Dump all available statistics every 30 seconds in a text format suitable for parsing. No statistics are com-
puted in this mode, only raw numbers are displayed.
-h Suppress display of the header.
-j JSON dump mode. Dump all available statistics every 30 seconds in JavaScript Object Notation (JSON) format. No statistics are
computed in this mode, only raw numbers are displayed.
-l lun Request statistics for the specified LUN. This option is incompatible with total (-t) mode.
-n numdevs Display statistics for this many devices.
-w wait Wait this many seconds in between displays. If this option is not specified, ctlstat defaults to a 1 second interval.
EXAMPLES
ctlstat -t
Display total statistics for the system with a one second interval.
ctlstat -d -l 5 -C
Display average DMA time for LUN 5 and omit CPU utilization.
ctlstat -n 7 -w 10
Display statistics for the first 7 LUNs, and display average statistics every 10 seconds.
SEE ALSO cam(3), cam(4), ctl(4), xpt(4), camcontrol(8), ctladm(8), iostat(8)AUTHORS
Ken Merry <ken@FreeBSD.org>
Will Andrews <will@FreeBSD.org>
BSD March 6, 2013 BSD
Can somebody show me how to write a program to create a file that contains any thing (characters, etc) and we can define the size of that file? I need a program that can create many files with different sizes.
Thanks. (2 Replies)
Hello Guys,
Can before and after snapshots be used to verify successful filesystem restoration?
snapshots will be created using fssnaps and restoration is thru legato restore?
Any ideas on this? or any other ways I could verify that restoration is good?
Regards (0 Replies)
I have tried to show the file name whose size is greater than 200 byte in current directory.
Please help me.
ls -l | tr -s " " " " | cut -f 5,9 -d " " >out.txt
#set -a x `cat out.txt`
i=0
`cat out.txt` | while
do
read x
echo $x
#re=200
j=0
if }" < "200" ]
then
echo $j
j=`expr $j... (2 Replies)
The file FTP'd got few breaks and the data looks like:
ABCTOM NYMANAGER
ABCDAVE NJ
PROGRAMMER
ABCJIM CTTECHLEAD
ABCPETERCA
HR
and i want the output like:
ABCTOM NYMANAGER
ABCDAVE NJPROGRAMMER
ABCJIM CTTECHLEAD
ABCPETERCAHR
can you please help me in writing the shell... (8 Replies)
I've a script to do some snapshots but the time it does so is very different...
once i got a snapshot under 1 sec, on the other hand it took 3 sec, but nothing else changed, i didnt even move the cursor or something.
I put the script on a ramdisk and its faster, but still swing from under 1... (1 Reply)
I have one issue with my existing code.Actually i want to write parameter's at the end of the section not begin of section.please find my code snapshots...
while read cfgfilename sectionname parameter
do
case "$cfgfilename" in
cfgfilename)
FILE=$HOME/config/$parameter
unset... (1 Reply)
From the site:
Austrian sky diver Felix Baumgartner and the Red Bull Stratos team will attempt to break the human free-fall record. If successful, Baumgartner will break four world records: highest manned balloon flight, free fall from the highest altitude, supersonic speed in free fall and... (1 Reply)
Hi,
Can someone advise what "generic" command can I use to show statistics of a process or a running script/process?
For example, I want to know how many hours/minutes it's taken to run or has been running, how much CPU it used and how much memory it used or uses.
I want to be able to... (2 Replies)
Hi,
I work as an Oracle Technical consultant (mainly DBA related), and I have used ZFS snapshots on previous projects which has helped me a great deal. I often take snapshots before doing some dev work, and then I can roll it back if I want to start again, or if it goes pear shaped!!
I have... (4 Replies)
Hi,
Recently we have new server T5 Oracle. We set up it for our database. For out database files we set one zfs filesystem. When i use iostat -xc the output as below. As you see the value for vdc4 is quite high.
extended device statistics cpu
device ... (32 Replies)