The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
24 views

In what Cisco IOS versions is the “Show LLDP Neighbors” command available?

Could anyone help me with this? Or a place to find command and availability in versions or devices? I'm really new to networking. Thanks in advance.
1
vote
1answer
195 views

Command apt-get -t wheezy-backports install linux-image-amd64

I have a server with Debian wheezy and kernel vmlinuz-3.2.0-4-amd64, hosted at OVH. I would like to upgrade the kernel. Normally at ovh, you can find some kernel already configured. but the files I ...
1
vote
2answers
148 views

Can I find the list of ports being listened by a process ordered by the time of opening?

I know I can see the list of open ports using the lsof command. I am trying to view the results ordered by timestamp of listening. The process opens multiple (~6) ports and I suspect the order of ...
0
votes
2answers
583 views

why does sudo su; su tomcat doesn't switch to tomcat user?

In Redhat linux. from my user if I issue command sudo su -> changes to root su tomcat --> changes to tomcat user Why does tailing the commands in single line doesn't work? sudo su; su tomcat --> stil ...
0
votes
1answer
303 views

embedded white space in nagios arguments

I created my own nagios command $USER1$/check_http -H $HOSTNAME$ -p $ARG1$ -u $ARG2$ -e $ARG3$ -w 5 -c 10 -4 used by a new service. When the $ARG3$ contains some white space (for instance "200 ...
-1
votes
2answers
114 views

can't find the executable for the command linux 'source' [closed]

i am using ubuntu server 12.04 lts. I am looking for the executable of the linux command source i can not find in the /bin nor /usr/bin nor /usr/sbin nor /usr/local/bin . I used whereis source it ...
0
votes
1answer
73 views

task manager performance tab

I am trying to have task manager open on the Performance tab on startup on Windows 8, 8.1, and 2012 machines. I have gotten the task manager to open, but it always does so on the Processes tab and ...
2
votes
1answer
191 views

Bash: two commands in dollar-parenthesis don't have same behavior

I don't undertsand why, in Bash: echo $(hostname --fqdn) works, echo $(id -un) doesn't (id: –un: No such user). Backticks give the same results. Is there some good practice for using this ...
1
vote
1answer
233 views

Can sftp check for existing data?

I have 700 binary files (pdf) to download and right now only 400 are available on a sftp server. Can sftp, from the cli, determine what files exist in the local directory so it doesn't need to ...
0
votes
0answers
155 views

Need help getting two commands to run on startup (Seafile)

Trying to get the Dropbox alternative Seafile to run automatically on startup on my VPS running on CentOS 6.4. I want to get these two commands on startup. Noob here, any help will be really ...
3
votes
1answer
217 views

Meaning of requeues of tc command

I ran this tc bellow and it outputs requeues with high number, do you know what this requeues means? By the way, it keeps increasing over the time. I look at man tc but I couldn't find anything. $ ...
-1
votes
2answers
98 views

Python script to log name, date, and command of every command users have entered

I want to create a script, possibly in python, open to suggestions, it logs every command typed on the server. so it would log, user, timestamp and command. Is this possible?
0
votes
1answer
99 views

Create Logfile for all fired commands on server

I want to maintain logfile for all fired command on server. We have more than 3 admins and I want to monitor all commands which are fired by these. Is it possible ?
-1
votes
1answer
61 views

Lost access to my Virtual Machine on linux server pool after I used sys-unconfig command as root

the network admin gave me an IP address for Red-hat VM on his linux server pool; but lately I used the "sys-unconfig" command as a "root" user, and now I lost my access to the V-Machine; I cannot ...
-1
votes
2answers
138 views

nested Cmnd_Alias in sudo configuration

im trying to simplify my sudo configuration but not sure if sudo supports this configuration. I have a "view" command alias which we use to provide access to log files: Cmnd_Alias VIEW = ...
0
votes
2answers
305 views

How to run Linux system commands from web interface?

I'm looking for a clean and secure way to run specific Linux system commands from a web interface. Let's say I would like to sudo -u differentuser ping 0.0.0.0. The IP address is supplied by user in ...
0
votes
0answers
216 views

shell command queuing system linux (like atd)

I need to queue shell commands depending on current available resources. I know of atd and it's exactly the type of tool I would like to find but with consideration for RAM and possibly disk ...
-1
votes
1answer
82 views

ssh argument command not passed

Doing this command: iptables -I INPUT -d xxx.xxx.xxx.xxx -p tcp --dport 80 -m string --to 70 \ --algo bm --string 'GET /w00tw00t.at.ISC.SANS.' -j DROP I got this error on ssh console: "bad argument ...
2
votes
2answers
691 views

Is there any way to convert a putty “All session output” log, with control characters, to a more human readable “Printable output” log?

We had a contractor in-house to help with some configuration of a product and we're trying to look through the putty logs he set up for us, but instead of using "printable output" he used "all session ...
0
votes
1answer
89 views

Alter new and existing session Command Timeout value

My first post so please me... I’m a self-taught DBA in a manufacturing environment full of engineers who like to fiddle. Although I have not given them sysadmin or any explicit extra rights I have an ...
1
vote
1answer
154 views

Extract ip, mask and gateway of a network interface separately

I know that the command ifconfig will give you ip, mask and gateway of a given network interface. I want to "programmatically" extract each of those paramaters separately. At the moment the best ...
1
vote
1answer
57 views

Ubuntu 11.10 Cron Job fails With - Not Found

I have a script that is supposed to run hourly. It was working fine for a while and then it seemed to stop working after some system updates were applied. At that point it stopped working and ...
4
votes
1answer
983 views

Why does rsync forks itself? And why one such forked process is almost kinda idle (as seen in iotop)?

This is referring to the matter stated here and I am also experiencing the same. In one of my servers, I ran an rsync, to backup a huge directory (size greater than 300 Gb) to a different disk, ...
3
votes
1answer
195 views

Is there any difference running dhcrelay with multiple process or single process?

I want to ask about dhcreay running mechanism. We can run dhcrelay with two command, then it will run as 2 process dhcrelay -i eth3 172.16.17.3 dhcrelay -i eth1 172.16.17.5 #ps ax | grep dhcre 26464 ...
1
vote
2answers
499 views

How to check that all ZFS snapshots within a pool are without holds before destroying that pool

Question Already I can check each snapshot of a filesystem individually, manually. I would prefer to check all at once (all with a single command or script). Please: can that be done with a ...
0
votes
3answers
162 views

How to check the number of requests being served by server

Can any one help with the command to check the number of requests being served by apache web server. I know some commands to test the load of server, like top command to check the load on server and ...
0
votes
2answers
160 views

Call 'script' command and exit it from within a bash script

I'm using the linux 'script' command http://www.linuxcommand.org/man_pages/script1.html to log all input and output in an interactive bash script. At the moment I have to call the script command, ...
1
vote
1answer
1k views

changing network speed to 1000Mb/s

I am trying to change the server uplink from 100Mb/s to 1000Mb/s ethtool eth0 output # ethtool eth0 Settings for eth0: Supported ports: [ TP MII ] Supported link modes: ...
0
votes
2answers
207 views

How do I view my website stats via cmd line? [closed]

I use Wordpress for my website. Is it possible to use SSH or such to view the stats on my website? Via cPanel, I can see latest visitors, logs and errors. I just want to be able to view them via ...
1
vote
2answers
889 views

Meaning of killall -0

I see from many place the follow command is used to check if a process exists, e.g. killall -0 nginx But from the documentation I can't see anything related to this argument, can anyone explain?
0
votes
1answer
224 views

how to wrap the command1 return strings with single/double quotation marks (\'or\") to feed to the next command2? [closed]

For example, I want to use mplayer to play the music of several dirs, type like this in bash: $find './l_music/La Scala Concert 03 03 03' './l_music/Echoes The Einaudi Collection' ...
2
votes
2answers
1k views

How to show high usage user's username with the top command, if the username is too long?

I'm having problem identifying high usage users on a shared Linux machine. I use the "top" command and it does show which commands are using the most CPU. But the usernames on this server all start ...
10
votes
2answers
11k views

How to check if a RSA public / private key pair matched

I have two files, id_rsa and id_rsa.pub, what command can be used to validate if they are the valid pair.
7
votes
3answers
16k views

Nginx enable site command

We all know how to enable a website using apache on linux. I'm pretty sure that we all agree on using the a2ensite command. Unfortunately there is no default equivalent command comes with Nginx, but ...
-2
votes
1answer
75 views

backup tidy up script [closed]

I've looked around here for an answer to my question but it doens't look like anyone has so far got there. I'm looking for a way to selectively DELETE files from a directory, so I have; Every file ...
-2
votes
1answer
43 views

Changing tar parameters

I'd like to change the command I'm actualy using to put files in a tar archive in order to achieve this: 1) Remove directories tree from the archive (actually the .tar.gz file mantains the tree of ...
0
votes
1answer
364 views

Adding Linux kernel command line parameters

I would like to increase the size of the vmalloc region from the default value, and pass vmalloc= as a command line parameter while booting. I am booting a uImage. In which file do I need to add the ...
2
votes
1answer
267 views

timeout duration on linux

I'm trying to run a command for 5 hours and 10 minuts. I found out how to run it for 5 hours but I'm unable to run it for 5 hours and 10 minuts.. timeout -sKILL 5h mplayer -dumpstream ...
3
votes
6answers
1k views

Pass a pipe to a command that expects a filename

Say I have a command foo which takes a filename argument: foo myfile.txt. Annoyingly, foo doesn't read from standard input. Instead of an actual file, I'd like to pass it the result of another command ...
1
vote
1answer
3k views

Error when attempting to install network printer/driver using PrintUI command

I receive the following error when attempting to install a TCP/IP printer using PrintUI: "Operation could not be completed (error 0x00000705). Windows cannot locate a suitable printer driver. ...
0
votes
1answer
644 views

how to rdiff-backup with list increments

I have already created nfs server and client for backup web server and cms server like at http://www.myee.web.id/2012/04/nfs-server-for-backup/ Then I installed rdiff-backup, for backup I running ...
0
votes
2answers
1k views

finding files on linux in non hidden directory

In the following command i want to search only only the directories which are non hidden how can i do this using the following command .Iwant to ignore hidden directories while searching the log file ...
1
vote
1answer
321 views

Diaspora server auto start when system start up in ubuntu

To start Diaspora sever, always need to cd to the /home/diaspora, then run ./script/sever My server(Ubuntu 11.10) everyday restart. I want to configure the server(Ubuntu 11.10) to allow diaspora ...
6
votes
1answer
2k views

Whats “Birth” field in stat command output

I'm using Fedora-16 with ext4.Suddenly with stat command I can see something called "Birth". # stat history_file1.txt File: `history_file1.txt' Size: 8944 Blocks: 24 IO ...
1
vote
2answers
1k views

What's the shell command of importing a sql into a db . (MySQL, CentOS w/ cPanel)

I have a big sql file (~ 60MB) exported from local development site, and I want to import to my server (running CentOS 5). Lets say the dump file is dump.sql, uploaded to the server. the database ...
0
votes
1answer
360 views

debian 'f' command?

top shows: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 7476 root 20 0 1168 632 368 R 100 0.0 12:31.14 f Which f? claudiu@hussie:~$ which f /bin/f What's ...
2
votes
2answers
162 views

What does this command do on Linux? It is eating my CPU.

I have a VPS and I am hosting a game site on it. Recently my CPU went to 3000% and memory is going near full. When I checked the processes I found this process eating the CPU: Pid-1571 (Trace) ...
0
votes
3answers
250 views

Detect CPU Vendor on OSX

So, I considered asking here instead of SO because people here are more likely to be familiar with this stuff. I'm currently using PHP to detect some generic stuff on the host OS. In this case, I'm ...
4
votes
3answers
6k views

Can I run a shell built-in command with Puppet?

I want ~/.bashrc will be source whenever changing its content. I created a bashrc class with something like this: file { "/root/.bashrc": ensure => present, owner => root, group ...
2
votes
1answer
500 views

How to install Windows service from command line while setting recovery options

I have a Windows service that I build on a build server and then install on multiple remote servers using Sysinternals PSExec and sc create. This was worked well to this point but I now have a need to ...