Most Popular
1500 questions
54
votes
10 answers
How do I check the build status of a Jenkins build from the command line?
How do I check the Jenkins build status without switching to the browser?
If required, I can create a script using the JSON API, but I was wondering if there is already something like this built in.
Catskul
- 1,969
54
votes
14 answers
Templating with Linux in a Shell Script?
What I want to acomplish is:
Having a config file as template, with variables like $version $path (for example apache config)
Having a shell script that "fills in" the variables of the template and writes the generated file to disk.
Is this…
Markus
- 877
54
votes
2 answers
How can I increase the value of somaxconn?
I can check its value by cat /proc/sys/net/core/somaxconn,
is it OK if I change it simply by echo 1024 > /proc/sys/net/core/somaxconn?
linux_user
- 541
54
votes
5 answers
Need to add a "Wait" command to a Powershell script
Here is my current code:
Write-output “ENTER THE FOLLOWING DETAILS - When Creating Multiple New Accounts Go to EMC hit F5(refresh) and make sure previous new account is listed before proceeding to the next one”
$DName = Read-Host…
Paul Masek
- 722
- 2
- 8
- 16
54
votes
8 answers
How to VNC into an existing X session?
Would like to be able to connect to an existing X display, so can access my work environment and everything I left open from home. I vaguely remember something about using x11vnc in the past. But the package does not exists for Fedora 11, so I am…
grom
- 819
54
votes
8 answers
How to grep ps output with headers
How can I grep the PS output with the headers in place?
These two process make up an app running on my server....
root 17123 16727 0 16:25 pts/6 00:00:00 grep GMC
root 32017 1 83 May03 ? 6-22:01:17…
Ben
- 3,880
- 19
- 66
- 99
54
votes
2 answers
Why do I have to edit /etc/sudoers with visudo?
I've noticed that the sudoers file and cron config files act in a special way compared to other config files on Linux. They need to be edited with a special wrapper rather than any text editor. Why is this?
Brian Lyttle
- 1,757
54
votes
24 answers
Which websites should a system administrator read?
I try to religiously follow planet sysadmin as well as IBM developerworks.
Which ones do you read and advise to other system administrators?
tomdeb
- 709
- 1
- 7
- 10
54
votes
3 answers
Unix socket vs TCP/IP host:port
Could someone please describe to me the pros and cons of using a Unix socket file vs a tcp/ip localhost:port when setting up services on a server (Ubuntu, FWIW)?
In this particular instance it's for a Python WSGI server (uWSGI) but I'm just…
Ludo
- 1,099
54
votes
5 answers
How exactly & specifically does layer 3 LACP destination address hashing work?
Based on an earlier question over a year ago (Multiplexed 1 Gbps Ethernet?), I went off and setup a new rack with a new ISP with LACP links all over the place. We need this because we have individual servers (one application, one IP) serving up…
Stu Thompson
- 3,379
54
votes
8 answers
How is fire spread in server rooms and datacenters?
Every now and then I read that a severe fire has happened in some datacenter, lots of equipment has been damaged and customers have gone offline. Now I wonder what is there to support and spread fire?
I mean walls in a server room usually have…
sharptooth
- 2,739
54
votes
6 answers
how can I schedule a reboot in Linux?
I'm new in Linux and I want to schedule a reboot at midnight. How should I do it?
Edits:
I'm sorry I didn't put the complete details. I want a reboot every 3rd Saturday of the month at 23:30.
I don't know what's wrong but I cannot find crontab.…
klauriens
- 561
54
votes
7 answers
How can I find the LDAP server in the DNS on Windows?
For Linux, this command should return the DNS record for the LDAP server
host -t srv _ldap._tcp.DOMAINNAME
(found at Authenticating from Java (Linux) to Active Directory using LDAP WITHOUT servername)
How could I get the same on the Windows command…
mjn
- 943
54
votes
6 answers
Stop ssh client from offering all the public keys it can find?
Like most sysadmins I use openssh all the time. I have about a dozen ssh keys, I like to have a different ssh key for each host. However this causes a problem when I am connecting to a host for the first time, and all I have is a password. I want to…
Amandasaurus
- 32,281
- 69
- 194
- 263
54
votes
4 answers
How to check cron logs in Ubuntu
I went to /var/log/cron but this file is empty.
How to check if crontab is enabled or is running properly or not in ubuntu
thanks
John