Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

cfetoolinfo(8) [debian man page]

CFETOOLINFO(8)						User Contributed Perl Documentation					    CFETOOLINFO(8)

NAME
cfetoolinfo - Get information about a database SYNOPSIS
cfetool info name [--path|-p directory name] [--daily|-d] [--weekly|-w] [--yearly|-y] [--verbose|-v] [--help|-h] DESCRIPTION
Prints out some basic information about the specified database, including: the location of the database, the location of the histogram file (if there is one), the step interval, the database age, the time it was last updated, and the current overall average and variation. OPTIONS
--path|-p directory name The directory in which to find the database folder. If this argument is not provided, the current working directory will be assumed. --daily|-d Provide information about the daily averages database. --weekly|-w Provide information about the weekly averages database. --yearly|-y Provide information about the yearly averages database. --verbose|-v Print details of the command's execution to the standard output stream. --help|-h Prints a short help message and then exits. EXAMPLE
% cfetool info temperature --path /my/path Weekly average database: Database Location: /my/path/temperature/weekly.db Histogram file: /my/path/temperature/weekly.hist Step: 10 minutes Database Age: 0.000992 weeks (1 steps) Last update: Mon Sep 13 16:20:40 2004 (1095117640) Current average: 7.105000, Var: 38.280217 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 CFETOOLINFO(8)

Check Out this Related Man Page

WEEKLY(5)						      BSD File Formats Manual							 WEEKLY(5)

NAME
weekly, weekly.conf -- weekly maintenance DESCRIPTION
The /etc/weekly script is run, by default, every Saturday morning on a NetBSD system. The /etc/weekly.conf file specifies which of the stan- dard weekly services are performed. The variables described below can be set to ``YES'' or ``NO'' in the /etc/weekly.conf file. The default settings are in the /etc/defaults/weekly.conf file. (Note that you should never edit /etc/defaults/weekly.conf directly, as it is often replaced during system upgrades.) rebuild_locatedb This rebuilds the locate(1) database, /var/db/locate.database, which must also exist, in order to be rebuilt. rebuild_mandb This rebuilds the apropos(1) database /var/db/man.db, using makemandb(8) with the -f option. rebuild_whatisdb This rebuilds the whatis(1) database(s). Note that NetBSD provides a default whatis.db for the system manual pages and this may not be needed. (Adjust your /etc/man.conf as necessary; see man.conf(5) for details.) FILES
/etc/weekly weekly maintenance script /etc/weekly.conf weekly maintenance configuration /etc/weekly.local local site additions to /etc/weekly SEE ALSO
daily.conf(5), monthly.conf(5) HISTORY
The /etc/weekly script first appeared in 4.3BSD. The /etc/weekly.conf configuration file appeared in NetBSD 1.3. BSD
March 6, 2012 BSD
Man Page

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Hi! New here, looking for...

Hi everybody! I'm new to this forums, and am a university student (Computer Engineering) from México. In my new Unix school subject, we need to deliver a weekly report, that includes a complement section in which we have to write about UNIX news and up-to-date info on UNIX. So this is the... (1 Reply)
Discussion started by: Hiro BC_MX
1 Replies

2. Shell Programming and Scripting

pickup until last friday files from directory

Freinds, I need help: I need to process number of flat files on weekly basis. My source dir will receive flat files regulary at mid night between 1:00am and 6:00am. When I run my weekly file process it should get only the files which are until last friday (including friday)and move them in... (1 Reply)
Discussion started by: magi
1 Replies

3. BSD

Awstats stderr solution

Hello! Firts of all, sorry fo my poor english, but i hope you'll undestand me :) Ok, let's go to the problem.... I have a lot of awstats crontabs, and i have one mail,where i get daily and weekly output of all servers that i administrate, now it's problem that i get to his mail every time,... (3 Replies)
Discussion started by: flashm3
3 Replies

4. Solaris

rotating a log yearly

Hi, I am having some troubles using /usr/sbin/logadm to rotate sulog yearly. Can someone please assist with the correct syntax to rotate the sulog yearly? I'd like to maintain up to 3 years of logs. I am on Solaris 10. Thanks, (1 Reply)
Discussion started by: lwif
1 Replies

5. Shell Programming and Scripting

Pattern matching in Perl issue

Hello all, I have written a perl script which searched for a file in a folder, and return the value found or not found. The file that we are getting is a weekly file and everyweek, the date changes. So for this i have written a file pattern matching script, but i am not getting the... (4 Replies)
Discussion started by: msrahman
4 Replies

6. UNIX for Dummies Questions & Answers

Basic IF Command Question

Hi, I have a months worth of data that I need to separate into weekly files. There is a date column with dates in the following format: YYYYMMDD. I'm thinking I can create the weekly files by using a grep command combined with an IF command and specify each day of the specific week I'm... (1 Reply)
Discussion started by: cwl
1 Replies

7. Shell Programming and Scripting

How to use logical operators in multiple if statement

Hi I want to send a status mail if daily or weekly or monthly batch completed or aborted. Here is the code. if && && || Else if && && || Else if && && || then mailx –s “Status Report” sumone@sumthing.com else print ”try again” Plz suggest the changes. (3 Replies)
Discussion started by: Avi
3 Replies

8. UNIX for Dummies Questions & Answers

System maintenance weekly job and welcome message

Since a few weeks I am playing with debian and now I have 2 questions. The first one: I want to create weekly a file to all user directories. I know that you have a cronjob to schedule it weekly. In this cronjob I have written the following line: df >> /home/%users/diskspace.txt I've... (1 Reply)
Discussion started by: iceqube
1 Replies

9. UNIX for Dummies Questions & Answers

logrotate and cron.daily/weekly

Hi guys, I've got two separate logrotates I'd like to run, one for Tomcat and one for Apache, but I'd like to run the Tomcat one daily and the Apache one weekly. Now, the logrotate itself is working fine, but although I have 'daily' in Tomcat, and 'weekly' in the Apache one, the latter is... (2 Replies)
Discussion started by: jimbob01
2 Replies

10. Red Hat

Cobbler - what is the advantage?

Hi guys, new user here, so please be gentle. I need to build a lot of servers at work on a weekly basis with various versions of RH and additional applications. We use PXE/Kickstart to do this with selections made from a simple menu structure. However, I keep hearing about Cobbler and... (0 Replies)
Discussion started by: hankpym
0 Replies