Ubuntu :: Timing How Long A Program Is Running

Apr 19, 2010

I'm looking for a way to time how long a program runs in the terminal. I didn't have any luck searching around but I'm sure it's possible. Does anyone know of the easiest way to do this?

View 2 Replies


ADVERTISEMENT

Ubuntu Networking :: Running Remote Programs For A Long Time?

Mar 14, 2010

I suspect this has been posted before, but I'm new enough to the OS to lack the proper vocab for a proper search.

In any case, I'm basically trying to run programs remotely at work (from home) that will run for a long time. I first ssh into the appropriate network, then ssh into the individual machine. This works great and I can run programs no problem. The issue is that these programs can run for days or weeks, and the network kicks me out after some period of time due to inactivity.

Is there a way to start a program on a remote machine then terminate the connection but have it keep running?

View 6 Replies View Related

Ubuntu :: Execute Long Running Jobs On A Remote Host?

Apr 1, 2011

What you do if the job takes a long time to finish and you don't want to wait.Say, I ssh to a remote server from my laptop and start a long-running job. Then few hours later I ssh again and inspect how did job run, its uotput and etc.

View 2 Replies View Related

General :: Why Does Running A Program In Bash Work, When Running It In The Menu Doesn't?

Jul 26, 2010

I presume there is something in the JWM window manager - or Puppy Linux Lupu 5.01 itself that is conflicting with the normal loading of GMPLAYER....

I would like to know how to troubleshoot, and fix this problem if possible (even a workaround would be great).

View 1 Replies View Related

Ubuntu :: Running Postinst Hook Script /usr/sbin/update-grub Taking A Long Time?

Apr 15, 2010

Running first upgrade after installing 9.10.

Currently on item "Configuring linux-image-2.6.31-20-generic" and the progress bar/terminal readout has not changed for an hour or so I'd say.

Don't want to cause issues by killing it halfway through, especially as it presents an opportunity to learn something!

View 2 Replies View Related

Ubuntu :: File System Check Failed A Long Is Being Saved /var/long/fsck/checkfs

Jan 9, 2010

just start Ubuntu 9.04 said: File system chek failed a long is beging saved /var/long/fsck/checkfs if that location is writable Please repair the file systmen manually A maintenance shell will now be started Ctr+ D terminate this shell and resume system boot. Give root password for maintenance or type Control +D to continue. I did Ctr+D , and after login said , that can not find /home. I starte with the live cd:

[Code]....

View 9 Replies View Related

General :: "nicing" Long Running Computationally Intensive?

Sep 10, 2010

I've just noticed that "nicing" long running computationally intensive, I/O unintensive, single-threaded executables on my system increases the CPU run time of those executables (as reported by /usr/bin/time as well as by wall clock) by a factor of 2-3 even in the absence of any load, i.e., "top" tells me that my program is getting 100% of a CPU. For example:

[code]....

My system is running Ubuntu 7.10. If I run the same executable on two other machines I have access to -- one running Fedora 5 and the other Ubuntu 9.10 -- I don't see any discrepancy between the runtimes using nice and not using nice.

This behavior is executable independent, compiler dependent, and language dependent -- I'm seeing it across the board. I'm assuming I've somehow configured my system to behave this way, but I have no idea what I may have done. Also, this was the first time I'd ever done timing runs with "nice" (actually, "at"), so I'm not sure how long my system's been configured (if configured is the right word) this way.

View 6 Replies View Related

Ubuntu :: Program Is Running But Can't See It

Nov 4, 2010

I installed an RPG platform (Fantasy Grounds) on my system via Win7. Once installed, and known to be working, I logged off Win and back to Ubuntu and ran the program via Wine. Once it starts, I hear my PC rev up, see the system monitor crank up the CPU and see that "Fantasy Grounds" is running and using about 40% of my CPU usage... but I don't see it. There is no GUI, no nothing. I can end process and the CPU drops down to normal. Anyone have any idea as to why a program would be running, but I have no visible evidence that it is?

View 2 Replies View Related

Ubuntu :: Stop A Program From Running?

Jan 16, 2010

Here's the error message I get when trying to run Thunderbird 3.Thunderbird is already running, but is not responding. To open a new window, you must first close the existing Thunderbird process, or restart your system.I can't find it running anywhere.

View 9 Replies View Related

Ubuntu :: 9.10 - How To Know If Cron Running Program

Mar 25, 2010

I seem to be having a problem with cron. I have a python program that checks a specific directory for pending email scripts written in python.

Code:
#!/usr/bin/python
import os
emaildir = os.environ['HOME']+"/email/"
filelist = os.listdir(emaildir)
for pyfile in filelist:
if pyfile.find(".py") > -1:
execfile(emaildir+pyfile)

This code has been tested and works fine. The problem is that I need cron to run this code every 5 minutes but i can't tell if it is running: Here is my cron code:
5 * * * * /home/username/custom/CheckEmail.py >>/home/username/custom/email.log 2>&1

I activated the log (I think) but all i get is /var/log/cron.log and that only logs when I activate/deactivate or edit the cron file. is there anything else i need to set for this to work? I am running Ubuntu 9.10.

View 8 Replies View Related

Ubuntu :: Running A Program As Admin?

Jul 15, 2010

I downloaded The Witcher for windows from Wine and I'm trying to run it but it says I have to run it as the admin the first time the game is ran. I don't know how to run it as admin lol. I've only been using ubuntu for about a week now. If you can let me know how to do it from the terminal AND from shortcuts, that would be great because I'm trying to know what all I can do with ubuntu.

View 6 Replies View Related

Ubuntu :: Script Can Tell If A Program Is Running?

Jan 14, 2011

Is there a file that can be opened and a program name searched for? If it is there, the program is running, else it is not.

Something like that?

I have a program that stops periodically. If I could run a script every 30 minutes or so to check the hypothetical file, it could re-start the program if the program had stopped running.

View 2 Replies View Related

Ubuntu :: Running Program With Mono?

Feb 20, 2011

I want to use a program, that runs windows and "linux with mono". I run Kubuntu 10.10.

Quote:

koen@Koen-Kubuntu:~/Documents/Software/SuperOneClick_1_6_5$ mono SuperOneClick.exe
** (SuperOneClick.exe:4191): WARNING **: The following assembly referenced from /home/koen/Documents/Software/SuperOneClick_1_6_5/SuperOneClick.exe could not be loaded:

[Code]....

View 1 Replies View Related

Ubuntu :: Running Program As A Daemon?

Apr 10, 2011

i am trying to daemonize my (java) program on ubuntu. For that end i created a script based on /etc/init.d/skeleton script which obviously uses start-stop-daemon.

But I cannot make the process (java program) run on the background. it keeps running in the same terminal i start my daemon script. Trying --background option for start-stop-daemon does not help.

View 5 Replies View Related

Ubuntu :: Running A Program After Boot?

Aug 9, 2011

I am using a small ubuntu command-line only distro (Ubuntu Mini Remix) to run off of a LiveCD or USB stick. I need it to run a program as root as soon as it is finished booting, automatically. I cannot for the life of me figure out how to make it run my program. I have tried putting a script into rc2.d (when I type runlevel at the command line, it tells me it is level 2) that simply contained:

Code:

#!/bin/bash
qct
(qct is the name of my program)

I did the chmod u+x on the script. It does not run my program, though. I have no idea if it was a naming issue or not. I do not understand the naming scheme.When it boots, and doesn't run my program, I can type sudo qct at the command prompt and it runs fine.

View 2 Replies View Related

Ubuntu :: Running A Program Using WINE?

Feb 6, 2010

I've downloaded and installed WINE, works well with most windows programs I run. I recently downloaded a program called METT (micro expression training tool), and apparently it needs a disc to be ran. Well, I installed KISO and mounted the image there, but I still can't get it to run.

View 6 Replies View Related

Ubuntu :: Running Script On Program Close

Mar 8, 2010

I'm trying to make a script that will copy over the settings file for firefox everytime firefox is closed. What would be the best way to go about doing this.

View 3 Replies View Related

Ubuntu :: Microphone Only Works When 1 Program Is Running

May 31, 2010

I am a new ubuntu user but I used linux mint before ubuntu and I had the same problem there. My microphone only works when 1 program is running, but if I load a game or something my microphone stops working.

View 5 Replies View Related

Ubuntu :: Running A Program Which Uses Make.sh File?

Sep 17, 2010

I amtrying to install a program and at the point when I am required to execute the command "make clean" and then after "make all" , I obtain the following eror message:

ndoheric@nen-laptop:/opt/WAVEFORPGM/distribute$ make clean
cd ./MyTime; make clean
make[1]: Entering directory `/opt/WAVEFORPGM/distribute/MyTime'

[code]...

View 4 Replies View Related

Ubuntu :: Identify Libraries Used By A Running Program?

Dec 9, 2010

I'm using the FortiClient SSL VPN free version provided by my University. I can't get tech support from the university OR Fortigate. I have it running on one system, but I have no idea what the sequence of libraries I installed was. I need it to run on a second machine. pstree is only telling me that the FortiClient ssl daemon depends on pppd. I need to know how to find out what else it's using: LibPKCS and the like.

View 1 Replies View Related

Ubuntu Servers :: Running Multiple Instances Of A Program?

Mar 11, 2010

how to run multiple instances of a command line app from the terminal?

View 2 Replies View Related

Ubuntu :: CPU1 Overload Then CPU2 Without Running Any Program?

Sep 25, 2010

Looking for my process monitor you see that I didn't run any program but my CPU01 100% overload and fax worked a lot,CPU02 just a bit.Ram's just 12%. So what I when wrong? I install Ubuntu 10.04 x64 - ram 4Gb - Nvidia quadro 140M.
Firefox6.6

View 5 Replies View Related

Ubuntu :: Set Terminal To Completely Hide Itself While It's Running A Program?

Jan 19, 2009

It really bothers me that when I start a program through the terminal it takes up space with the terminal that's tied up with the program, and the program itself. I know how to keep it from tying up the terminal, but when it devotes the terminal, I like that it gives output if the program crashes. Is there a way I can set a terminal to completely hide itself (off the desktop and the taskbar) while it's running a program, then reappear once the program is closed?

View 4 Replies View Related

Ubuntu :: Test Program Not Running On Openmoko Phone

Dec 3, 2010

I am running ubuntu-9 on i686 and cross compiled simple hello.c program with arm-linux-gcc (handheld/arm-linux-gcc-3.3.2.tar.bz2]) for arm , but unable to run it on openmoko neo free runner phone.

View 1 Replies View Related

General :: Running GUI Program On Machine Using Ssh?

May 2, 2011

I am trying to run open a GUI program on a remote Ubuntu machine using ssh.

I want to open, lets say firefox or skype, on a machine I have connected to via ssh.
But when writing logging in with user2 and writing sudo -u user1 firefox I get an error message saying no display specified.

The machine is turned on and logged in with user1, it just appears that i cant get ubuntu to recognize that there is a GUI available.

View 1 Replies View Related

General :: Tell If A C Program Is Running Without A Terminal?

May 9, 2010

I have a C program that can run disconnected ( like most ), is there a programmatical way to tel if the program is running without a terminal? Example:nohup my-program &What I want is to modify the program so it can be used as a HUB interface. It does Peer to Peer communication and I want to make it a server function with a command line option.Currently if I disconnect the program, it will loop on the read for stdin, I need to be able to detect that and go into 'HUB' mode.

View 4 Replies View Related

General :: How To Tell Which Version Of A Program Is Running

Jan 25, 2011

For example, if different versions exist in /usr/bin/ and /usr/local/bin, how can I tell which one is actually being executed?'which xxxxx' simply lists the first instance found in $PATH, which is usually /usr/local/bin/, but this may not necessarily be the actual instance that is running.

View 3 Replies View Related

General :: Running A Program On Startup?

Aug 9, 2011

I have a program I have made, and I would like it to run as soon as the system is finished booting. I am using Ubuntu Mini Remix to recreate a LiveCD/USB stick. After booting, it drops me to a command line where I can enter "sudo qct" and it will run my program (which is called qct, and it has to be run as root).I want this to be automated.Instead of going to a command line, I want it to run the program itself at that point. How would I go about doing this? I have read many tutorials about scripting but I cannot seem to get it to work.

View 11 Replies View Related

Programming :: Getting A Snapshot Of A Running Program?

Nov 17, 2008

I am trying to use perl to run a program using the eval command but the program runs infinitely, i just need it to run basically for one second, stop then give me the output. I tried using fork but it does not really work. The child process is not being killed.

my $pid = fork;
if ($pid == 0) {
my $results = `ngrep etc...`;

[code]...

View 6 Replies View Related

Programming :: Running C Graphics Program?

Sep 18, 2010

i want to run c graphics program on linux for that i want to install[URL]but i dont know how to install this graphic file on linux to make it un.

View 1 Replies View Related







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