General :: Usage Of AT Command To Schedule A Program?
May 13, 2010
i want to use the command at to execute a script on a specific time FOR EXAMPLE :at 12:30pm but the script does not have to ececute at all, I DIT IT BUT THE SCRIPT EXECUTES EACH 12:30pm (that'sy problem) i want to write a script that will execute each two months from a specific time . for example: from january 12, 2010 the script has to run before march 12,2010
I was wondering if there was some calendar/planner/schedule program for Ubuntu so that I could input all my class HW/lecture/exam schedules for the semester and be able to keep track of whats due and whats going on? I know I could use Gmail's calendar, but I don't know if I will always have internet and I feel like a stand-alone program would be better.
I'm trying to make an old Dell Latitude D505 running OpenSuse 11.3 LXDE download torrents at night between 2 and 6 AM (when I have free bandwidth), but I'm failing at a couple very basic things. The solution is probably very simple, but I can't find it.First: How can I schedule Transmission to start every day at 2AM? I tried with Crontab (using VCron), but I think I'm using the wrong command. When I type "transmission" in a terminal it launches transmission, but when I make a crontab entry with "transmission", nothing happens. Do I need to type the full path to the transmission executable? If so, how can I find that? Or is the problem more likely to have something to do with permissions?Second: Is it possible to schedule hibernation? If so, what command should I use?
I wrote a program that multiplies 2 matrices using multi-threads and another one using multiple processes and shared memory. Both in C.I need to find the total memory usage of these programs. I know of the top command, but when my matrices are relatively small they don't even show up on top because they complete so fast, how can I find the memory usage for these instances?Also, how can I find the total turnaround time of my programs?
Since I own one of those Centrino based Core 2 notebooks that create annoying buzzing noises when idle (= entering C3 or C4 power saving states), I'm looking for a program that creates artificial CPU usage. It should allow me to limit the CPU usage to a certain percentage (I know that there are a lot of easy ways to create 100% usage ;-).
Another option would be to disable the C3 or C4 states, but in newer kernels the sysfs interface to set the max_cstate on-the-fly was removed for some reason, and I don't always want to reboot after switching from AC to battery (and vice versa).
Im trying to list the cpu usage of all process that have a cpu usage of 10% or more. Im not interested in the lower usages. Im using the top command and can get a list of all the cpu usage for all the process but cant only get the processes with 10% or more. I'd want these processes sent to a new file. Would I be able to cat the cpu usages and PID into a file?
I'm trying to schedule a reboot ,using the 'at' command. Normally to reboot I have to be 'root'. I tried using sudo to start 'at',to no avail. How would I type the command ,using at, to reboot?
In Red Hat, suppose if root user wishes to give a privilege to run the fdisk command to a user named sam.And he makes appropriate configuration changes in /etc/sudoers file. Now when sam wishes to run the fdisk command, then he has to issue:
Code: [sam@system43~]$sudo /sbin/fdisk -l Password: But in ubuntu, after the same configuration being done, what sam needs to do is: Code: [sam@somesystem43~]$sudo fdisk -l Password: ***
That means, in ubuntu the user need not type the full path of the command. I wish to know how can I make red hat system work like ubuntu as far as the sudo usage is concerned.
how to Check the disk usage of different linux servers using df -h linux command. My host server is 66.50.100.1, I can check its disk usage by using df -h command. I got my disk usage. Now using my host server Im going to check the server 66.50.100.3 disk usage. Is its possible to check the disk usage of 66.50.100.3 using my host server?
Is there a command to check specific processes that's using the most IO/disk usage? I know sar and ps but I want more specific details on IO on individual processes
I was trying to get the status of memory usage and disk usage using sigar in windows and ubuntu. done this in windows by just copying the sigar library into jdk library. But i was unable to do so in ubuntu. I've copied the library to java-6-sun library but still can't run the program.
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!
I live in the boonies, so I have satellite internet. It's not too bad, but I'm restricted to 200 mb's of download per day.
I'm looking for an app that will keep track of my usage, so I don't go over 200. I was using "System Monitor", but it's a little buggy, so I'd like to try something else.
I used to have a program that displayed system information (cpu/ram usage, stuff like that) but the name escapes me at the moment. The key feature of this program is that it was intergrated into the desktop.
I am currently developing a program that i need to compare to other similar programs, mainly to provide a cost v. benefits analysis for myself and coworkers. does anyone know of a program that can accurately provide this information? or, otherwise, an idea of how to start coding?I have seen in research papers before that quickness was actually evaluated in seconds/microseconds taken for processes to finish- is this legitimate?
I have a java program that runs on Debian as a background processor. Yesterday the Java program stopped running. I looked at the memory usage, the system only had 5MB memory left, so my guess is that the java program ran out of memory to use.
However, after we restarted the java program, we could see that the free memory count started to go up. It kept going up from 5MB to over 400MB. The increase of memory happened slowly, when I measured it, I could see that with each minute passing by, there were a bit more memory added into the free memory pool, and meanwhile, the java background process was running.
I wonder why this would ever happen. It's as if our java program first brought the machine done because it consumed all the memories, then after restart, it starts to give back memories.
I'm new to Linux and I am currently using the Ubuntu distro. What I'd like to know is whether there is a program or command I can use to back up my hard drive with Ubuntu? I have an external drive that I can use for this purpose but I don't know how to set it up for Ubuntu or Linux generally.
I'm trying to run an application from the command prompt. I've set the path in .bashrc. My executable file and all other files needed by it are saved in the same directory as the path. When I enter the executable name to run it, I get an error message saying that the command is not found.
The Linux command for showing the different segments of a program. The output of the command should show me which elements go to stack, heap, and data segments.
Basically I have a machine with 16GB of RAM and have just discovered that using all of it can crash the whole system over one process. How could I run a process on the system in such a way that if more than 90% of system memory is used, the process immediately crashes?