Ubuntu :: Where To Check To See If Running 32 Or 64 Bit?
Apr 19, 2010i was just wondering where can i check to make sure what bit system i am running. 32 or 64,
View 4 Repliesi was just wondering where can i check to make sure what bit system i am running. 32 or 64,
View 4 RepliesHow to check whether ssh is running or not ? (I have install ssh)
If not how to make it run ?
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]....
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)
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]...
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).
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.
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).
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.
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 ?
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 RelatedWhen 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?
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.
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.
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
How can I check which version of bash I'm running
View 2 Replies View RelatedI 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 Relatedi'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 RelatedI'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?
I've tried to upgrade from Fedora 11 to 12 in a workstation by following the related steps in the documentation. However; in the step 'yum upgrade' I'm getting the following problem:
VirtualBox-3.0.6_52128_fedora11-1.x86_64 from installed has depsolving problems
--> Missing Dependency: libcrypto.so.8()(64bit) is needed by package VirtualBox-3.0.6_52128_fedora11-1.x86_64 (installed)
--> Running transaction check
---> Package kernel.x86_64 0:2.6.30.8-64.fc11 set to be erased
---> Package kernel-devel.x86_64 0:2.6.30.9-90.fc11 set to be erased
--> Processing Dependency: libcrypto.so.8()(64bit) for package: VirtualBox-3.0.6_52128_fedora11-1.x86_64
--> Finished Dependency Resolution
VirtualBox-3.0.6_52128_fedora11-1.x86_64 from installed has depsolving problems
--> Missing Dependency: libcrypto.so.8()(64bit) is needed by package VirtualBox-3.0.6_52128_fedora11-1.x86_64 (installed)
Error: Missing Dependency: libcrypto.so.8()(64bit) is needed by package VirtualBox-3.0.6_52128_fedora11-1.x86_64 (installed)
I've tried to find the packages libcrypto.so.8 without success.
Is there a unique command ( common to all Linux Distros, Solaris, Windows ) to know whether a service is installed and running on my system or not??
View 5 Replies View RelatedI have a game server running using java, and it tends to crash sometimes, and only way to start it now is manually, so i thought i could create a script to check periodically if java is running, and if it isn't, run my startup script for the game server also, if it's possible it should log when it actually started the server startup script into a text file or something, so i can check why it crashed.
View 6 Replies View RelatedCannot activate Task Manager.
Message: 'Check if your dcopserver is running'
(ASUS Eee Netbook)
I have Linux server with cent OS.I have installed tomacat6.0 and postgresSQL8.3 on it.The thing is i wanna know whether the tomcat and postgresSQL is running or not using the script.
View 1 Replies View Relatedim looking for a program that lets me monitor server remote a check if apache is running and if its not send out a mail pretty much something like the Big Brother projeckt was before they went comercial i found a few projekts but most havent been updated for years anyone got a clue on any active projekt that does this?
View 1 Replies View Related<edit>never mind dump the ;'s and it all works fine</edit> I'm trying to write a bash script that will check if XMBC is running if it is then do nothing else start it then do some other things.This is the start
Code:
#!/bin/bash
DISPLAY=:0.0
[code]....
I am using Sphinx search on my webserver and it quits after a certain amount of time leaving my search page broken.Here is a bash script that I want to run every 10mins via cron:
Code:
#!/bin/bash
if pgrep searchd | grep "[0-9]"
[code]...
I have gotten an error message to please check that the dcopserver program is running.Where do I look to see if it is running?
View 3 Replies View Relatedfrom nmap localhost | grep mysql command i will come to know whether mysql server is running or not.my problem is i want to test whether mysql server is running or not in shell script and if it is running i need to tell the user to stop the server to run the shell script.
View 3 Replies View Relatedhow to make a script that will check service/s status whether running or stop and also will run stop services?
View 9 Replies View Related