04-21-2009
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Please can someone help me. I need to set up a cron job to measure CPU usage, Disk I/O and memory usage over a period of 1 minute along with the number of users logged into the system. I also need to send it to another user besides myself every hour. Please can someone help me! Thanks. (4 Replies)
Discussion started by: gerwhelan
4 Replies
2. HP-UX
Dear All,
I am facing an issue related to cronjob and explained below is the case study:
1. I have a java class named "DmCheckRenditionQueue.java" and placed under "/cpc/documentum/product/5.2.5/tomcat/webapps/rendition"
2. When I am using the command
"/usr/openv/java/jre/bin/java -cp... (1 Reply)
Discussion started by: parindam
1 Replies
3. Shell Programming and Scripting
Hi all,
I have written the following script which will try pinging to almost 24 nodes and when the connectivity is down it sends me an alert saying the node is down. It also gets me a trace route information and a contact information.
When i run this script manually it actually works. But... (3 Replies)
Discussion started by: venkidhadha
3 Replies
4. Shell Programming and Scripting
Hi,
I am able to run a.sh script manually but they are not getting invoked from the crontab
here is cronjob entry
15 03 * * * /Feed/bin/a.sh >/Feed/logs/log.txt
logs.txt is empty
Please Advice (7 Replies)
Discussion started by: mad_man12
7 Replies
5. Shell Programming and Scripting
Hi All,
I want to change the start-up sequence of services on SLES10/11.
I have my own start-up scripts for some services and I want them to start in a particular order(not in alphabetical order)
Can anyone help me on this issue? (4 Replies)
Discussion started by: senrooy
4 Replies
6. Shell Programming and Scripting
Hi,
Can anyone tell me what the following 2 lines are doing
base=${0##*/}
link=${base#*}
I found this in a start up service script and I think it is giving the service link names which in turn will change the start up sequence of services. (3 Replies)
Discussion started by: senrooy
3 Replies
7. UNIX for Advanced & Expert Users
Hi,
I'm the administrator of a server with SLES10 and when I type "ls -l" I'm getting a machine name where I should be getting the username, for example:
server:~# ls -l
drwxrwx---+ 3 user-1152$ group1 4096 2009-11-25 12:56 folder
drwxrwx---+ 3 user-1113$ group2 4096 2010-03-10 15:34... (4 Replies)
Discussion started by: rodrigoroma
4 Replies
8. UNIX for Dummies Questions & Answers
hi everyone I'm newbie in this forum hope I can get some help here :)
I have a command in crontab that executed every 1 minute
sometime this command need more than 1 minute to finish
the problem is, the crontab execute this command although it's not finish processing yet and causing the system... (7 Replies)
Discussion started by: 2j4h
7 Replies
9. Shell Programming and Scripting
Dear expert,
I have script named as test.sh in HP-UX
i am using like 00 00 */15 * * : but its cronjob giving error
i want to schedule my script for each 15 days interval exactly.
for example:15 jan,30 jan,15 feb, 2 march, 17 april...etc.
quick response must be highly appreciated.
... (8 Replies)
Discussion started by: Jewel
8 Replies
10. UNIX for Beginners Questions & Answers
How to set cronjob for 48 hours.
I can set for 2 days as shown below.
* * */2 * *
It is creating confusion for 30 days & 31 days per month. (3 Replies)
Discussion started by: Nishit
3 Replies
LEARN ABOUT DEBIAN
pgtune
PGTUNE(1) General Commands Manual PGTUNE(1)
NAME
pgtune - generate an optimized postgresql.conf file
SYNOPSIS
pgtune [ options ] -i $PGDATA/postgresql.conf -o $PGDATA/postgresql.conf.pgtune
DESCRIPTION
pgtune takes the wimpy default postgresql.conf and expands the database server to be as powerful as the hardware it's being deployed on.
pgtune works by taking an existing postgresql.conf file as an input, making changes to it based on the amount of RAM in your server and
suggested workload, and output a new file.
OPTIONS
-i, --input-config
Specifies the current postgresql.conf file.
-o, --output-config
Specifies the file name for the new postgresql.conf file.
-M, --memory
Use this parameter to specify total system memory. If not specified, pgtune will attempt to detect memory size.
-T, --type
Specifies database type. Valid options are: DW, OLTP, Web, Mixed, Desktop
-c, --connections
Specifies number of maximum connections expected. If not specified, it depends on database type.
-D, --debug
Enables debugging mode.
-S, --settings
Directory where settings data files are located at. Defaults to the directory where the script is being run from. The RPM package
includes a patch to use the correct location these files were installed into.
-h, --help
Show summary of options.
-v, --version
Show version of program.
AUTHOR
pgtune was written by Gregory Smith.
This manual page was written by Rodolphe Quiedeville <rodolphe@quiedeville.org>, for the Debian project (and may be used by others).
November 2, 2009 PGTUNE(1)