Software :: Write A Cron Jobs In System To Monitor Project Diskspace Usage?

Jul 28, 2011

How to write a cron jobs in linux to monitor my project diskspace usage?
check diskspce= du -h .

any clue for me as a beginner?

View 7 Replies


ADVERTISEMENT

General :: Unix - Monitor Average CPU Usage And RAM Usage On One Process System?

Nov 15, 2010

Is there any way to monitor one process' CPU usage and RAM usage over time on Linux? I am trying to change to a cheaper VPS and need to work out what level of CPU and RAM I need!

View 2 Replies View Related

Fedora :: No Output From Cron Jobs In /etc/cron.daily

Jan 29, 2011

I have added some executable scripts to /etc/cron.daily but don't get the stdout/stderr output from them as mail (or anywhere else I have found). At least one of them is running (because I can see that it has added a file to the disk).

The peculiar thing is that I do get the output from /etc/cron.daily/0logwatch (part of the logwatch package) as an email each day.

The MAILTO line in /etc/crontab is "MAILTO=root" (unchanged from default). Same for /etc/anacrontab.

I do have an alias at the end of /etc/aliases which redirects root's mail to my own account, but this alias works fine for mail I send manually. (It also appears to work fine for the output from the file /etc/cron.daily/0logwatch.)

View 3 Replies View Related

SUSE / Novell :: Write A Script To Monitor Memory And Cpu Usage?

Jul 22, 2009

Im just trying to write some script to caputre memory and cpu usage on SLES servers, I just wanna use "top |grep Mem" and "top |grep Cpu". when I ran the above command, it just keep going. i just want to get one line each for memory and cpu.

View 3 Replies View Related

Ubuntu :: System Monitor CPU Usage Does Not Add Up?

Apr 22, 2010

quite often my computer will slow down, and all the cpu indicators will show 100%. However, when I open System Monitor to see what is using all the CPU, it doesn't show anything much at all. I have attached a screenshot to show what I mean. CPU is running at 91% load, however, I make the total 35% in system monitor.

View 3 Replies View Related

Ubuntu :: 10.10 - CPU Usage In System Monitor

Jan 6, 2011

I am having a slight issue with my netbook (toshiba nb305) Just fully switched to Ubuntu 10.10 from Windows 7 starter so still a little new. I first installed the 32 bit version and everything was all sorts of peachy. But while reading some documentation on my model I ran across a cryptic line that hinted at my cpu being 64 bit. Did a little research on these forums and ran a command in terminal (honestly cant remember it) that listed the specs on my hardware. Sure enough my "width" was listed as 64 bit.

Well just to give it a shot I Downloaded the 64 bit version of 10.10 and Installed it on another partition. Up and running checked over everything. Appears to be normal. But on a whim I went into the System Monitor and noticed not one cpu but 2? Confirmed same situation on 32 bit.
Processor 0: Intel(R) Atom(TM) CPU N455 @ 1.66 GHz
Processor 1: Intel(R) Atom(TM) CPU N455 @ 1.66 GHz

Ok I was a tad bit confused so I was about to do a lil research on it. But then I noticed on the Resources tab that under 64 bit my CPU History graph showed both processors Pegged at 100% With nothing running except for the basics. Under the 32 bit it was reliantly low? I checked the Processes tab in both to confirm there wasnt a unusual process out there jamming up cpu usage but the highest cup listed was the gnome-system-monitor at like 40 est %. Nothing showing up using the CPU that vigorously.

View 9 Replies View Related

Ubuntu :: Using System Monitor To Watch Cpu Usage?

May 1, 2010

Transmission seems to cause a kernel panic when I try to use it. Using system monitor to watch cpu usage, as soon as I fire up transmission, the cpu usage spikes to 99 and 100 percent and the transmission window grays out. I set firestarter to allow bit torrent usage, I was wondering if there was something else I needed to do or if transmission was broken. I am running an Athalon 3200 on an MSI motherboard with 2 gigs of ram.

View 5 Replies View Related

Ubuntu :: CPU Usage In System Monitor - Not Hardware

Nov 2, 2010

I had been running Folding@Home as a distinct process when I was running Windows - I'd manually start and stop it. (This was intentional.) I just installed it on my Ubuntu 10.04 install, and it's running just fine.

The only thing that's strange is that while top and the System Monitor report the CPU usage correctly, the Hardware Monitor applet (1.4.2) isn't reporting the usage at all.

As I said, it's an annoyance, nothing more - the applet reports other CPU usage accurately, and Folding@Home runs smoothly and perfectly.

Gnome's Hardware Monitor applet (1.4.2), the one with "curves" and "flames", apparently displays both "user" and "system" processes. Processes marked "nice" (that is, only running when the machine is idle) do not appear as CPU usage. They do appear as CPU usage in the System Monitor applet.

View 4 Replies View Related

Ubuntu :: RAM Usage - Top Versus System Monitor

Jan 18, 2011

I'm doubtful about my Ubuntu's ram usage, as I'm getting different values in top and System Monitor:
System monitor:
Top:
What could be causing this? What should I trust, Sysmonitor or top?

View 2 Replies View Related

Ubuntu :: Cron Jobs Don't Run?

May 22, 2011

I have this in my crontab (along with another line before it):

Code:
* * * * * /bin/echo "Does this work?" > ~/test
...and the file doesn't show up. I have a blank line after that one in the crontab. I have no /etc/cron.allow or /etc/cron.deny files. I'm running Ubuntu 11.04. /var/log/syslog shows "BEGIN EDIT" and "END EDIT" etc. when I run crontab -e, but doesn't say anything about trying to run commands. Anything I might be missing?

View 9 Replies View Related

Ubuntu :: System Monitor Not Correlating With Memory Usage?

Feb 1, 2010

in this example, my memory 993.4 MiB memory is said to have 575.9 MiB of it used and 163.4MiB of my 2.8 GiB swap memory used. but in my processes tab, the most memory hogging program is 98.3 MiB, and Pidgin, 25.9 MiB, and 18.9 MiB, 14.9, 6.2,6.1,5.2,3.4,3.3,1.8,1.8,1.7, etc. I'm certain these don't add up to 575.9 MiB so where is all this extra memory usage coming from?

also, why is data measured in MiB?

View 6 Replies View Related

Ubuntu :: Set Cron Jobs Up For Programs

Jan 9, 2011

i need to know how to set cron jobs up for programs like eggdrop and psybnc

View 1 Replies View Related

Ubuntu :: Cron Jobs Not Running?

Jun 2, 2011

I have a cron job that executes fine in opensuse 11.4. It is located in

/etc/cron.d/publish.cron:
jpablo /srv/django-apps/smcommand/scripts/publish.sh

It is correct, I want it to execute every minute. Now, I copied the same script to ubuntu maverick, and it doesn't run. Perhaps there's some ubuntu peculiarity that I'm not aware of?

View 5 Replies View Related

Red Hat / Fedora :: Where To Exactly Enter Cron Jobs

Nov 15, 2010

I have a Fedora 11 box and I am confused about cron, where exactly do I enter the cron jobs? For example, I have a job that needs to run every half hour.

View 8 Replies View Related

Software :: Cron Does Not Run Jobs In Debian 64?

Apr 6, 2011

Cron doesn't run jobs in Debian 64 (testing). It gives error
Code:
Apr 6 15:31:01 debian64 /USR/SBIN/CRON[5454]: (CRON)
Error (grandchild #5455 failed with exit status 1)
and does not run the script.

View 5 Replies View Related

Ubuntu :: Memory Usage - Top Doesn't Match System Monitor?

Aug 3, 2011

running top shows:
Tasks: 165 total, 1 running, 164 sleeping, 0 stopped, 0 zombie
Cpu(s): 3.5%us, 2.2%sy, 0.0%ni, 93.9%id, 0.5%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 3721884k total, 3376604k used, 345280k free, 107524k buffers
Swap: 3855356k total, 40k used, 3855316k free, 2013536k cached

but System Monitor tells me that only 33.9% (1.2gb of 3.5gb) is being used. Why is the memory used difference so great?

View 3 Replies View Related

General :: How To View Results Of Cron Jobs

Mar 21, 2010

I see so many guides on how to run crontab, but what I need right now is to learn how toFind log files about cron jobsConfigure what gets logged

View 3 Replies View Related

Ubuntu :: Cron Jobs Are Not Running And Can't Seem To Figure Out?

Mar 16, 2010

For some reason my cron jobs are not running and I can't seem to figure out why.
Here is crontab -l

Code:
SHELL=/bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin

[code]...

View 7 Replies View Related

Ubuntu :: Cron Not Running Any Jobs In Lucid?

May 10, 2010

I use crontab for a daily alarm clock, which stopped working after I moved to Lucid.

Code:
$ crontab -l
# m h dom mon dow command

[code]...

View 9 Replies View Related

Ubuntu :: Add Two Separate Tasks/jobs To Cron?

Jul 13, 2010

I want to add two separate tasks/jobs to Cron that needs to run every 10 minutes, but I would like the second job to kick off only 5 minutes after the first job. Is there any way this could be done within Cron?

View 2 Replies View Related

Ubuntu :: Cron Jobs Across Multiple Machines And PHP?

Jan 6, 2011

run a cron job to download my email logs to my laptop. But the question is HOW? Im not sure how to write the php script for the cron job. the file is on "computer A" and the file is setup to chmod I just need to know how to write the php to "access" the other computer and then download the file to a certain file on my laptop.

View 3 Replies View Related

Ubuntu :: Cron Jobs Stopped Running?

Jun 2, 2011

I am running Ubuntu 10.10 on a new Dell PowerEdge.

I built the system ~2 months ago and have successfully been running a list of cronjobs.

The jobs last ran on 5/31/11 at 7:35am. Since then none of the jobs have run.

I see "cron" in the process list when I run ps.

View 9 Replies View Related

General :: Cron Jobs Setup For Each 15 Seconds

May 8, 2010

How can I cron jobs for less than a minute for example configuring cron job to do something for each 15 seconds.

View 4 Replies View Related

Server :: Users Unable To Run Cron Jobs

Jan 6, 2010

I have a file server that is an NIS client. User home directories are auto-mounted from another server. Users are not able to run cron jobs. The /var/log/cron logs says:
Jan 6 14:33:01 inclination crond[3217]: (username) ORPHAN (no passwd entry)

I tried adding an entry in /etc/passwd, /etc/group, and /etc/shadow but the test script I have still doesn't seem to run although cron thinks it did. The log entry for these attempts looks like:
Jan 6 15:30:01 inclination crond[4312]: (username) CMD (/home/username/test-script)

Now root does seem to be able to run cron jobs with no problem. My test script works fine from cron when runs as root. I suspect there's an issue with how I have NIS configured but I can't find any info. The test script runs fine from the command line when logged in as myself.

View 2 Replies View Related

Server :: Sending Mails Through Cron Jobs?

Jun 13, 2011

i want to recieve mails to my emial id for the cron jobs i have assigned in linux command line..

View 1 Replies View Related

Slackware :: Cron Jobs Scheduled To Run But PC Suspended?

Apr 7, 2011

By default, cron jobs are scheduled to run at 4:40 IIRC. I have my computer set to suspend after half an hour of inactivity so, except for some all-nighters, pretty much every day at that time my PC is suspended. What happens to the cron jobs? I don't suppose they run while the suspension is in effect. Do they get run when the computer wakes up or does cron wait until the next day at 4:40 to run the jobs?

View 5 Replies View Related

Debian Configuration :: Suspend Mode And Cron Jobs?

Jul 7, 2010

Just curious if this is possible. What I want to do is setup a rsync job to backup my laptop to my personal file server(same LAN), but I want it do do this at 3AM while I'm sleeping. However I always close my laptop lid when I'm done using it which puts the laptop into suspend mode since that's how I configured my power options in gnome. Since I don't want to leave my laptop powered up all the time, I was wondering if it is possible to have a cron job scheduled that will wake the laptop up(out of suspend mode) and run my script/backup job, all without opening the lid of the laptop, and then put it back into suspend mode when it's done. Is this possible, and is it as easy as scheduling a cron job or is there some other scripting/configuration/trickery that I need to do to accomplish this?

Also, my laptop's BIOS has the option to power on at a scheduled time if needed, but I'm not sure if that would work with it being suspended(hibernation is not an option since my entire HD is encrypted with LUKS and I would have to be present to enter the password to boot the system.).

View 7 Replies View Related

Debian Configuration :: Cron Jobs Not Running On XEN DomU

Aug 16, 2010

I have a XEN DomU VM running Lenny and set up using debootstrap. I also have the TimeWentBackwards issue sorted using: [URL]. The problem is that my cron jobs just don't run. I've set up a cron job that simply echoes a date string to a file as a tester but it's not running. I've tried it under the root crontab, in /etc/crontab and set up in /etc/cron.daily. Is there something I'm missing?

View 1 Replies View Related

Ubuntu Servers :: Cron Jobs At Reboot Not Working

Jul 13, 2010

Have a headless server running Lucid 64 bit. Everything is working great except for a couple of Cron jos I'm trying to have run at boot.

My user crontab looks like this:
# m h dom mon dow command
01 * * * * /home/ceallred/Scripts/SambaBkup.sh
@reboot /usr/bin/SpiderOak --headless &The SambaBkup script works like clockwork...

The SpiderOak job doesn't start. It works if I type the command in manually.
syslog only shows:Jul 13 22:45:33 RavenWing cron[1010]: (CRON) INFO (pidfile fd = 3)
Jul 13 22:45:33 RavenWing cron[1022]: (CRON) STARTUP (fork ok)
Jul 13 22:45:33 RavenWing cron[1022]: (CRON) INFO (Running @reboot jobs)
Jul 13 22:45:33 RavenWing CRON[1048]: (ceallred) CMD (/usr/bin/SpiderOak --headless &)Yet ps -A doesn't show a running SpiderOak process. It shows after starting manually.

View 7 Replies View Related

Ubuntu Servers :: Getting Emails From Failed Cron Jobs?

Jan 16, 2011

I recently set up exim so that I could test emails sent from my php sites. I have now been getting daily emails that either report errors from cron jobs or report a failure to send emails to root@cory-laptop or cory@cory-laptop about cron errors.I first of all don't want mail sent to the above addresses, because they are obviously not actual email addresses. Second, I'd really prefer not to get emails when an email failed to send to these addresses.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved