General :: List Running Services On Remote Unix Box?
Jan 24, 2011Is there any unix command to list services running on remote unix box.
View 6 RepliesIs there any unix command to list services running on remote unix box.
View 6 Repliesi know that there is already a command for it but it comes out with a lot of letters that makes it hard to find the services that are runningi'm talking about services like DNS, APACHE, DHCP, SAMBA, SSH etcis there a command that will list these services and related services that are running instead of showing a bunch of jumbled and lettered mess thats hard to comprehend
View 6 Replies View RelatedI have beeen trying to find a list of all flags that can be used in UNIX and their meaning but I have had no luck.
Does anyone know if such a list exists?
If so where can I find it?
What I need is, given a process id, list all his children without any clutter (table header, other columns than the pid) What I have is :
ps h --ppid $PID Which gives me:
26277 pts/13 S+ 0:10 cmd1
26280 pts/13 S+ 0:10 cmd2
Using h allow me to hide the table header. Is there a way to tell ps to not print the pts/13 S+ 0:10 cmd part in order to get a list of children process ids separated by carriage return?
I am very new to Linux and Unix. Is there a command list which indicates the UNIX command equivalents also?
View 5 Replies View RelatedI can see this phenomenon on 2 different systems running 11.3 .In simple mode and also in expert mode.
View 9 Replies View RelatedWhere can i find a list of cronjob return codes for linux/unix
View 1 Replies View Relatedcommand to find list of table spaces in oracle in unix
View 1 Replies View RelatedI have a script from which i want to disable unwanted services. I wanted to have the list of unwanted services in the same script file. I tried the following, but it is not working...How do I mention list of services in the same file and still make the script work ?
Code:
#/bin/bash
#List of services, modify list between SERVICES tag
service_list=$(cat <<SERVICES
acpid
apmd
avahi-daemon
[Code]...
i have a server which i dont know what was installed on it, it was sent for me to find out.
View 5 Replies View RelatedI'm trying to get the end result to have the same format as this as well:
1 bin
2 daemon
67 erozner
[code]....
Where the numbers are the number of processes being run by the user (the name right next to it).if I input the command egrep myFile into the terminal, it should look for every line with the letter x in myFile, right?
Unix command that allows to know which process is running on processor core?
View 2 Replies View RelatedI have installed release CentOS 5.5 w/ fetchmail services. I've already configured the /.fetchmailrc in the correct format that I've learned from topics and I've checked also the sedmail running status. When I invoke the #fetchmail command this often happens:
fetchmail: WARNING: : Running as root is discouraged.
2 messages for user1 at mx.mailserver.com.ca: (1 of 2) (4353 octets) .....flushed
I have configured two NIC 's One for the public IP and another for the local network, I've tried to use the two IP's in the POP3 and SMTP settings of Mozilla Thunderbird but still user1 can't get messages.
In my server the iptables and ip6tables services are not running. But still i am getting some iptables and ip6tables related alerts on my /var/log/messages. My technical leader told me that there might be some mis-configuration in iptables configuration file. But i didnt see anything wrong.
Quote:
Quote:
What does it mean "Jan 25 11:01:32 beteduibsrv3 avahi-daemon[3308]: Leaving mDNS multicast group on interface eth0.IPv6 with address fe80::226:b9ff:fefc:6ec4."
I am trying to get this script to work. The purpose is to download a list of modules from the slax.org the list consist of a list of module numbers. What I am trying to do is Download the file or the file name corresponding to the number in the list.the list is comma delimited. this is what I have done so far and I am a stand still.
#!/bin/sh
# Wget script to retrieve modules from slax.org modules
#
# ----Begin of user defined values -----
# Path to wget
[code].....
I'm trying to find the systemctl equivalent of "chkconfig --list".$ systemctl -t service -alooks like the command, but it does not return any line about the ntp service. It does exist because I get this:
$ systemctl status ntpd.service
ntpd.service - Network Time Service
Loaded: loaded (/lib/systemd/system/ntpd.service)
[code]...
I spent a few minutes googling this, but I am not even sure what to search for. I suspect I'm looking at part of upstart, but it could also be sysvinit, plymouth or something else entirely. Every time I reboot, just between plymouth's splash screen and gdm loading, I am shown a list of services starting. The list shows the names of the services and [OK] if they started sucessfully or [fail] if they did not (only apport ever fails and only occasionally). I don't need or want to see this list. It also interrupts the transition from Grub to GDM (the background color should be the same shade of purple from grub all they way to the desktop, but this list is presented as ordinary terminal output: white text on black background)
View 4 Replies View RelatedAt the moment I am using Hummingbird Exceed on a windows PC to display X windows from a Unix server. The actual Exceed tool I use is called 'hwm' which I believe is basically an pc based X Windows manager. I do not need to configure anything other than the client computer name, IP address and screen definition and the server will then allow a connection and display the X windows on the client. I was wondering if there is an equivalent application I can run using Ubunto as a client insted of a Windows PC?
View 1 Replies View Related1)We need to do a clean up a folder in a remote unix server . What is the best option to connect to remote server? how do we use ssh ? Is there any prerequisite to use ssh?
2) We have to SCP few files to another folder in a remote unix server . I formed the below command to use in script. Is it of correct usage? scp -r $POS_HOME/posctl [login nameip address:/home/username/directory]
I have seen public key/private key generation part for SCP. How do we handle this? Does this need to be done as unix admin?
Where can I find a list of services converted to upstart in Ubuntu 10.04? What is the syntax for stopping, starting and restarting these services?
View 6 Replies View RelatedMy question is about checking remote services under Nagios. I have installed nrpe and the standard plugins on my Nagios server (RHEL 5.4) and the systems I want to monitor. I have been able to create hostgroups. I am somewhat confused as to how to add a new service. I want to check to see if tomcat is running on the remote servers. I found a plugin check_procs. If I run the following command on one of the remotes it works.
Quote:
check_procs -u tomcat6
PROCS OK: 1 process with UID = 101 (tomcat6)[code].....
It doesn't work. I'm not sure how to format the service.I've found gobs of documentation on how to setup and install Nagios, done. I've not been so lucky on how to setup a new service.
How can Vsftpd services & Xinetd.d services can be differentiated?
View 5 Replies View RelatedSending computer runs linux. Recieving runs OS X.
View 2 Replies View RelatedIn short our required is that we are creating a share library which can be loaded by a process and that share library analysis the process which load it. Since share library is in address space of the process so I need to find out how many threads created by the process and what is status of their stack trace etc.
So I am looking for a way to get list of threads in running process.
I am connecting to remote Linux PCs via ssh, to update software and do other tasks. I want to send a notification to the remote PCs screen (eg, "Do not run program X, it is being updated now"), so the users do know what is happening.
Is there a reverse way for ssh -X host so I can connect to a remote Linux machine and run notify-send and it appears on the other display?
I need to know what operating system currently running on given remote pc IP address.
View 4 Replies View RelatedI want to remote login as a non root user and then run a command under the root account.I have set up the ssh/scp for the non root user and this configuration works fine. What I dont know is how to run a command under root once remotly logged in as the non-root account.I have to run this command under root, it cannot be changed.
View 5 Replies View RelatedWell this is my first time using redhat 7, the install went fine and webserver, mysql, phpmyadmin are all working......great
The only problem i have is the remote desktop
I have set the password in preferences/remote desktop run command vncpasswd and set password
In services vncserver i get this message......... xsetroot: unable to open display '' Xvnc is stopped and vncserver failed. The error was: xsetroot: unable to open display '' Shutting down VNC server: 1:user1[FAILED]
Starting VNC server: 1:user1 [FAILED]
My vncservers file looks like this
I have tried restarting service using root login and user1
how to list the currently running processes via code a shell script. FYI i now about the top method in the terminal but i need a way to have it via a shell script.
View 4 Replies View RelatedAfter upgrade of 11.1 to 11.2 I noticed that none of services that was started in 11.1 at boot are starting now in 11.2. I check run-level of services with
Code:
chkconfig --list
When I start services manually everything is OK, but on restart they do not starting. Another weired thing is that my SuSEfirewall2 is filtering everything on input, nevertheless my previous configuration is still there, but ports are closed.