Visit Our UNIX and Linux User Community

Full Discussion: is this daemon effiecient???
Top Forums Shell Programming and Scripting is this daemon effiecient??? Post 24384 by peter.herlihy on Wednesday 10th of July 2002 06:59:45 PM
Old 07-10-2002
If you're wanting to do this for all files either on the filesystem, or downwards from a certain place (i.e from /home/shakey/ onwards....) then best to use

find /home/shakey -exec touch {} \;


find / -exec touch {} \;

This will touch all files from that point onwards - then just cron it for whatever time as hell666 has suggested.

Using touch * or touch /path/* will only touch files in the specified directory.
Test Your Knowledge in Computers #382
Difficulty: Medium
HP-UX 11i V3 Release B.11.31 is registered as UNIX V7 compliant.
True or False?

9 More Discussions You Might Find Interesting

1. Programming


I want to write background running program. How to use daemon function. Please send me source code. Thanks. (1 Reply)
Discussion started by: bat_oyu
1 Replies

2. Shell Programming and Scripting

Creating a Daemon??

How in the world do you create a daemon and get it to start with a startup script? could someone tell me in detail im going nuts...thanks (1 Reply)
Discussion started by: nmajin
1 Replies

3. Programming

Daemon...Zombie?? Please help me

Hello, i am very very puzzled, im doing this project for school, its a deamon logger, but anyways I'm supposed to run the daemon, let it run on the backgroun, and then run a different program (from command like prompt). but when i run my daemon, it never goes back to the nova> prompt. :( i dont... (3 Replies)
Discussion started by: Kacyndra
3 Replies

4. Shell Programming and Scripting

daemon scripts

Hello, id like to know how can i do for making my script a daemon. Im not sure, but once , i might read about a "daemon" command. Thats true? Whats it for? It isnt in my man. (2 Replies)
Discussion started by: Jariya
2 Replies

5. Programming

Creating a Daemon

how to convert a c program into a Daemon. thanks in advance svh (2 Replies)
Discussion started by: svh
2 Replies

6. AIX

rsync daemon

Does anyone out there use rsync on AIX 5.2, I've installed and would like to run in server mode, I've setup in services and inetd.conf and refreshed inetd. The rsync daemon however does not start, I've also tried rsync --daemon, this just returns to the # prompt. The rsync command itself appears to... (1 Reply)
Discussion started by: gefa
1 Replies

7. Programming

How to write daemon?

Hi , I want to know how to write a daemon process. I also want to know the concept behind daemon processes. Any material or sample program will be great :) . Thanks in advance -sg (2 Replies)
Discussion started by: sg6876
2 Replies

8. Programming


i want to write a daemon service which listens the 8080 port and write down all the details in one file. How can i do this ? (2 Replies)
Discussion started by: santosh123
2 Replies

9. UNIX for Advanced & Expert Users

stunnel4 daemon

If my web browser does not support SSL.This means that I can't connect like this "https://xxxxx". My question is how can i make a stunnel4 daemon in client mode ? like when i connect to "http://localhost:3000" in the web browser i am navigating througth "". I need to know... (0 Replies)
Discussion started by: pepeleches
0 Replies
ppud(1M)																  ppud(1M)

ppud - Pay per use daemon SYNOPSIS
is a daemon that provides system configuration and core usage information to a utility meter system for billing purposes. This daemon runs on Pay per use systems and meters core utilization and system configuration information. The daemon sends this information to a utility meter as an XML file. When a report is sent to a utility meter, it is also written to the file /var/ppu/PPUReport.xml. This report is best viewed using a web browser that understands XML. If the connection to the utility meter fails, the daemon caches the report data until the connection is restored. The daemon re-spawns itself if killed. The following entry is added to /etc/inittab in order to have start and re-spawn itself: The daemon is automatically started when a system boots if a utility meter has been specified via the command (see ppuconfig(1M)). The daemon does not need to be restarted when the meter configuration is changed via the command. The daemon reports errors via syslog. To unconfigure Pay per use, execute: Warning: if this is a Pay per use system and the daemon is not running, usage reports will not be sent to HP and usage may be assumed to be 100%. The daemon performs periodic operations based on the time of day. The daemon is spawned by and gets its timezone specification from the /etc/default/tz file. By default the timezone specified in /etc/default/tz is EST5EDT. You can specify which timezone the daemon uses to interpret its current time by modifying the /etc/default/tz file. Refer to environ(5)) for details of the format. A restart of the daemon is required before the new timezone value takes effect (i.e. kill the /usr/lbin/ppud process). For more information see the Pay per use User's Guide located at /usr/share/doc/PayPerUseUserGuide.pdf AUTHORS
ppud was developed by HP. FILES
/etc/default/tz File contains the timezone value used by . The format for the file is the same as the the environment variable format without the prefix . (See environ(5) for details of the TZ format). /var/ppu/cache/ Directory contains the report data that is cached if the connection to the utility meter fails. SEE ALSO
ppuconfig(1M), ppu(5) ppud(1M)

Featured Tech Videos

All times are GMT -4. The time now is 10:06 AM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy