For starters please post the script and mention what Operating System and Shell you have.
At a guess your script generates a command which is too long for the Operating System.
Bearing in mind that we know nothing about your Operating System or Shell, the generic solution format is something like this (in ksh) where the criteria is to delete files more than 180 days old :
The "if -f" covers circumstances where the filename contains weird characters.
This sort of construct never generates long command lines and may not be fast but it gets there in the end.
1. Is there a way to count the number of bytes of a variable?
example:
abc@yahoo.com is 13 bytes
2. Cut command only allows one byte for delimiter
example: cut -f1 -d'.'
delimited by period. Is there a way to have two or more characters in the delimiter field?
thanks in adavance.
:) (4 Replies)
Hello Expert! :b:
Question for you guys, Can anyone tell me how to use terminal emulator on Windows XP to view Solaris config? I have no idea on Solaris and the only thing I could do is to boot it up. Honestly, I have given a tasked to delete all the files and some necessary memory information... (2 Replies)
In my server migration requirement, I need to compare if one file on old server is exactly the same as the corresponding file on the new server.
For diff and comm, the inputs need to be sorted. But I do not want to disturb the content of the file and need to find byte-to-byte match.
Please... (4 Replies)
Hi All,
I am working with the Solaris 9.
In df -h command / file system size is 9.6 GB , used 7.5 GB and avialble space is 2.1. OK
But in du -hd command it is showing some 4.1 GB only.
How to find out that remaining 3.4GB.
Can you please help me ...
Thanks and Regards, (1 Reply)
Hi,
In df -h root file system showing
(total size) (used) (free)
/dev/dsk/c0t0d0s0 11G 7.6G 2.8G 73% /
but du -hd command showng 5.1 gb used sapce.
I am missing 3.00 gb space.
Here I have to knoe where is Remaining space... (2 Replies)
Hi All,
This is Babu working as a system administrator.
Here I am getting one problem with one of my Sun server's root (/) file system.
In df -h command / file system showing 7.8 GB used space.But in du -hd command it showing 5.2 gb only.
Please can any one help me resolve this issue... (2 Replies)
Hi Administrators,
I have one issue related to GPFS filesystem. We have bad entries in this file system, which reflects error like
ls: 0653-341 The file <filename> does not exist.
when we give "ls -ltr" on this directory.
So we taken the FS filesystem offline and followed the below steps.
... (6 Replies)
I have a C++ binary executable installed in a file system which is shared across multiple solaris boxes.
When I start this executable from one of the boxes,I am able to start only 4 parallel instances and from the 5th instance onwards I am getting the following error.
fatal: libdb2.so.1:... (2 Replies)
Hi gurus,
Need your help ,
Am facing some issue with one of the ext3 file system.while rebooting it failed to mount fs after running fsck i tried manuall but still no luck.However i made the machine up but am unable to mount file system can some one please help me.
root@vm258902]~# cat... (2 Replies)
Trying to load a specific Traditional Chinese Character on an HP UX platform for a Taiwan database. Data is converting to ?. Database has existed since 2008 and this is the first issue I've seen where a user is unable to save the multi-byte character in the database. I'm thinking this is may be... (0 Replies)
Discussion started by: OHcoder
0 Replies
LEARN ABOUT DEBIAN
cfetoolgraph
CFETOOLGRAPH(8) User Contributed Perl Documentation CFETOOLGRAPH(8)NAME
cfetoolgraph - create graphs from a cfetool database
SYNOPSIS
cfetoolgraph name [--path|-p directory name] [--daily|-d] [--weekly|-w] [--yearly|-y] [--timestamps|-T] [--resolution|-r] [--help|-h]
DESCRIPTION
The cfetoolgraph command dumps graphs of averages for visual inspection of the normal state database. The files are in a format viewable by
"gnuplot" or "xgmr" or other graphical plotting program.
The command generates three or four files in a subdirectory of the database directory with a name beginning with either "daily", "weekly"
or "yearly", then "-", then either "snapshot" or the current time, if the -T option is used. The files are named "average", "stddev", and
"graph". The "graph" file contains both the averages and standard deviations, useful for plotting with error bars.
If a histogram file is present, a fourth file named "distr" will also be created, plotting the distribution of fluctuations about the mean
value.
If the -d, -w and -y options are all omitted, the default is to only graph the weekly database.
OPTIONS
--path|-p directory name
The directory in which the database specified by name can be found.
--daily|-d
Graph the daily averages database.
--weekly|-w
Graph the weekly averages database.
--yearly|-y
Graph the yearly averages database.
--timestamps|-T
Time-stamp the output filenames with the current time, in order to give a unique name.
--resolution|-r
Generate high resolution data (), instead of averaging data over periods of one hour to generate simpler and smoother graphs.
--help|-h
Prints a short help message and then exits.
EXAMPLE
% cfetoolgraph temperature --path /my/path --resolution
Create graph files of the weekly database in high resolution in the "/my/path/temperature/weekly-snapshot" directory.
AUTHORS
The code and documentation were contributed by Stanford Linear Accelerator Center, a department of Stanford University. This documentation
was written by
Elizabeth Cassell <e_a_c@mailsnare.net> and
Alf Wachsmann <alfw@slac.stanford.edu>
COPYRIGHT AND DISCLAIMER
Copyright 2004 Alf Wachsmann <alfw@slac.stanford.edu> and
Elizabeth Cassell <e_a_c@mailsnare.net>
All rights reserved.
perl v5.8.4 2004-09-21 CFETOOLGRAPH(8)