Ubuntu :: Check If Application Is Running?
Jan 26, 2011
I'd like to know if there is a script that can check and see if an application has been closed (I don't know a great deal about bash programming).I'm running an organ programme with this script.
/usr/bin/jackd -r -t5000 -dalsa -dhw:0 -r44100 -p1024 -n2 -P &
java -jar /home/user/jOrgan/jorgan.jar &
jack-rack -s space space &
[code]....
View 2 Replies
ADVERTISEMENT
Apr 22, 2011
Let's say that I've installed the following versions of R on my computer.
R 2.10
R 2.11
R 2.12
Is there a bash command which can be used to getst of all versions which are installed.I've used dpkg --get-selections | grep r-base but that just return 'r-base' and i'd have no info on the version.
View 2 Replies
View Related
Oct 2, 2010
how to check where an application gets installed on my system!!!
View 14 Replies
View Related
Apr 19, 2010
i was just wondering where can i check to make sure what bit system i am running. 32 or 64,
View 4 Replies
View Related
Aug 16, 2010
I have backup_server and application_server.backup_server has directory AAA. I need to check from application serverthat is there any new files created today in the AAA dirctory. if yes, all files were created today or partial files?.
View 10 Replies
View Related
Aug 1, 2010
How to check whether ssh is running or not ? (I have install ssh)
If not how to make it run ?
View 4 Replies
View Related
Jun 20, 2011
I need a script that is able to check if a service is running or not. It has to do it automatic since it is for restarting a GameServer.
I tried to make one myself, but since the .x86 file has the same name for every server, it is hard to know a way to check if the server is running with the right process.
Is there a way to make a script which is able to check if a service is running (service has same name, but using other ports)
View 1 Replies
View Related
Oct 27, 2010
I wrote up a script to check to see if any VMs are running in VirtualBox, and if there are, it would save the state they are in and then reboot or shutdown the host.Is there a way to make that script run outside of using an alias for "reboot" and "halt" when I run those two commands?Here's the script:
Code:
#!/bin/bash
if [[ -n $(VBoxManage -nologo list runningvms) ]]
[code]...
View 9 Replies
View Related
Mar 10, 2011
Anyone know a way to check if flash is running? From command line or script.
I've tried
Code:
But it also gives output if flash is blocked(by flashblock in firefox).
View 2 Replies
View Related
Jun 4, 2010
My DVD/CD burner is rather old now (going on 5 years), and I've had some "quality" issues when I've been burning stuff for the past year.
CD's: When I play a burned CD in my car stereo, the songs have a "skipping" sound to them on the low-volume levels of the audio. I use K3b as my burning software, and it seems to be the best, but am I wrong? Is this a common problem?
DVD's: Specifically video DVD's. After converting the .avi to an image file using DeVeDe Creator, it gives me a file that has the .iso and I burn the disc using K3b. It's really hit or miss.
The question: is there a way to test the performance of my DVD burner to make sure it's working properly? Is there a way to calibrate the mechanism? I have a new External DVD/CD burner that supports "LiteScribe" (I could be mistaken on the name, but it's a technology that allows you to create a picture on the opposite side of the disc), but my INTERNAL is a 5 year old Lite-On.
View 4 Replies
View Related
Jan 29, 2010
I run a script manually like/usr/lib/openoffice.org/program/soffice and when I run
:ps -ef|grep openoffice
I get the following,
root 700 1 0 10:45 ? 00:00:00 /bin/sh /usr/lib/openoffice.org/program/soffice -calc
My question is how to check whether this script is running or not (It can be checked every 10 minutes) and how to make it as a service. (I don't have root access to put this in rc.local file or somewhere else).
View 2 Replies
View Related
Apr 27, 2011
How do i check if NFS mounts are still up and running?
when i do the command MOUNT , i get some result, but how can i see (or check) if they still up and running? I'm not so familiar with this command, so i hope that someone can guide me
I know that there must be some NFS links mounted, so if one fails, i need to see that with like an echo or something.
View 12 Replies
View Related
Sep 27, 2010
I am using this command (inside a bash script) to check if mailserver is running correctly (port 25)
# echo | telnet localhost 25 | grep "Connected to "
If it does not respond I receive an email alter.
It works good , but sometime it NEVER respond (neither after 1 hour) , so I receive no notification . DO you know alternative command to the command above ?
View 1 Replies
View Related
Apr 12, 2010
I Bought A New Centos VPS,Not Much Details Are Provided About Setup Etc..I Wanted To Check If FTP Service Is Running Or Not And Which FTP Daemon Is Running.(Is There Any FTP Daemon Pre-Installed With Centos)
View 6 Replies
View Related
Mar 13, 2010
When I installed CentOS v5, I declined the FTP server that cane with it because I have used and prefer ProFTPd. Now I'm not so sure what's running. How do I check what FTP is installed and / or running? ALSO there seem to be TWO ProFTPd conf files, one at:
[code]...
They have different content. Which is the one that is being used?
View 3 Replies
View Related
May 3, 2010
As the thread states, I wonder why my RAM usage is about 56% without any application running. It turns to 58% while opening Firefox (with only one Tab/Page opened) and typing this post. Is there something wrong?
View 9 Replies
View Related
Feb 16, 2011
My application environment which is made of jdk1.6,Tomcat 6, my sql 5.0. When i deployed my project in ubuntu 8.4, it was running fine.
But when i added
richfaces-api-3.3.3.Final.jar
richfaces-impl-3.3.3.Final.jar
richfaces-impl-jsf2-3.3.3.Final.jar
richfaces-ui-3.3.3.Final.jar
jar file in my application and deployed it in ubuntu10.4 then also it run smoothly.
But when i m trying to deploy it in ubuntu8.4 it shows an error
"resource not found"
View 1 Replies
View Related
May 3, 2010
I need to check and see that dbus, udisks and gvfs are running correctly, how can I check them?
I'm running only LXDE on a custom install of Lucid I did and I can't get my usb hard drive to automount properly and I was told by an LXDE developer that I need to check and make sure these three are running ok.
View 1 Replies
View Related
Jan 24, 2011
So I just installed ubuntu from a net install, and updated from the internet and posted on this site through firefox while installing vlc wich just froze at 90%.....
but when I try to add community repos it comes up with errors. And while running a system check it says I have no internet connection...
I'm connected through ethernet on a router wich works with the g5 in the other room running osx, and the pc upstairs running ubuntu meerkat. Now I had this same problem with SUSE 11.1 and worked around it by adding through terminal but I was never able to add from the GUI.
View 1 Replies
View Related
Apr 3, 2011
so I wrote a small script that pretty much just takes in two numbers and counts from the first to the second, e.g.
unknown-hacker|544> count.sh 1 3
1
2
3
My problem is I want to make it so that if you input invalid parameters, such as non-numerical characters, more than 2 numbers, etc., you'd get an error message
View 15 Replies
View Related
Aug 16, 2010
How can I check which version of bash I'm running
View 2 Replies
View Related
Nov 13, 2010
I have a bash script that messages the user periodically. Is there any way in the script to check if the screensaver is running, so the script doesn't spam messages while the user is away? The xscreensaver process is always running in the background, I've noticed.
View 5 Replies
View Related
Feb 26, 2011
i've some trouble to write a script on java on linux to check if service(ie:smbd) is runing or not,, could you give me some example? Or if is there any source about it for me to learn? i've two days search with zero result...
View 5 Replies
View Related
Feb 26, 2011
I'm having trouble trying to make a script. What I want to do is check if xScreenSaver is running in my user account. If not, run it. If it's running, kill it.
So this is the script I've made:
Code:
The problem is that I've echoed the output of $(pgrep -u $(whoami) xscreensaver) and it always seems to add 4 numbers to the pid, even if the pid doesn't exist. What do I mean by "doesn't exist"? That no xscreensaver is running in my user, and if I run pgrep -u $(whoami) xscreensaver in bash, I get not output, but if I run the command though the script, I get (for instance) 4050. If I run it again, I get 4054, and again 4058... etc. What the hell is going on with that?
View 5 Replies
View Related
Jan 14, 2010
I have two computers running Ubuntu. I want to run the copy of Firefox that is on the remote machine. i connect to the remote in the usual way, "ssh -X fermi", which brings up a console on the remote machine, fermi. When I type "firefox", however, it starts the copy of firefox that is on the local machine. On the remote machine, "ps aux|grep firefox" confirms that firefox is not running there. Is there a way to force execution of the remote copy?Or, can I start a local copy of firefox using the remote bookmarks, preferences, etc?
View 3 Replies
View Related
Mar 25, 2010
Running the Lynx and I have set up Evolution to download my Gmail e-mails but now I have a question.
When Evolution is running I get the notifications when e-mail come in and the little envelope at the top becomes "lit" to indicate I have new mail. What I want to know is how can I get notified without having the application "open", still having the notifications etc. but without having the application window open (like when you "close" Rhythmbox but it is still running at the top even though the windows is closed)?
View 9 Replies
View Related
Sep 3, 2010
unable to run opencv opllications on ubuntu(10.04)error:OpenCV Error: Unspecified error (The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Carbon support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script) in cvNamedWindow, file /home/p/OpenCV-2.0.0/src/highgui/window.cpp, line 100.
View 2 Replies
View Related
Oct 13, 2010
I want to launch qiv upon startup to show a series of photos in slideshow fashion (this will be the sole purpose of this particular laptop). I tried adding the command via System->Preferences->Startup Applications but this does not produce the desired result. In fact, the slide show doesn't even start.
View 5 Replies
View Related
Nov 1, 2010
I need to take a screen capture while an application is running. The application is a touch screen calibration utility and alt-Prnt Scrn does not work when the calibration utility is active. Is there another way for me to capture the screen while the utility is active?
View 1 Replies
View Related
Feb 12, 2011
I have a application in
/xxx/xxx/xxx/app
I need to type a long path each time, if I want to use it. I want to use it just type 'app'. How to do? Whatever I'm stay in any path.
View 2 Replies
View Related