Thanks for your suggestions steps, I followed your steps (I have given the heredoc <<EOF). It has executed successfully for first server only. After all the commands are executed in first server, the loop is going to end. The server_list file is like below,
cat server_list
server1
server2
server3
.....
.....
...
.
Is this file having any changes?
or
Is the loop statement having any changes?
I need to login into multiple servers thru a script run couple commands and run find command as root. I only have ssh access to the servers as a user than I can "su" to root. If you have a similar script please post it. Also if you can suggest commands that I should consider please let me know.
... (1 Reply)
Hi,
I want to write a shell script to compare two tables in teradata.these tables are present on different servers.
I want to connect to both servers in single login in order to fetch and compare the data in one go.
Thanks (1 Reply)
I have the following block from a script (it's not the entire script, but I'm confident it's all that is pertinent)
echo "$SESSIONS"|while read ID;do
ASSETID=$(echo "$ERRORS"|grep -i "$ID"|grep FX_Media_Session_Playlist::init_playlist|grep -i asset_id=|awk '{print $11}')
BLADE=$(echo... (2 Replies)
Hi ppl,
I am looking out for a shell script
a. That would have to login(from a main server) to say 16 servers individually.
b.On each server go to a particular location, check if a particular file is generated on a date(say every sunday it gets generated and i would be interested in the latest... (0 Replies)
Hi ppl,
I am looking out for a shell script
a. That would have to login(from a main server) to say 16 servers individually.
b.On each server go to a particular location, check if a particular file is generated on a date(say every sunday it gets generated and i would be interested in the latest... (1 Reply)
Hi ppl,
I am looking out for a shell script
a. That would have to login(from a main server) to say 16 servers individually.
b.On each server go to a particular location, check if a particular file is generated on a date(say every sunday it gets generated and i would be interested in the latest... (8 Replies)
I am having the 15 servers which need to do the monitoring
Hi I need a shell script, By which i can log in to multiple servers and execute the commands.. I need to specify the username and password in the scripts.
Please help me to write the script so that it can login with username and... (5 Replies)
Hi all,
I am baffled on this. Solaris Irix system.:confused:
I have 4 servers all connected to one another, :b: I need to write a script line that would login on to server 1-3 ($HOST) start a script in the back ground and log off while the back ground script runs over a length of time.:eek:
... (10 Replies)
I need to run a script on a bunch of remote servers. how can this be done without ssh into each individual server and run it
its under /sbin/script.sh on each server (1 Reply)
I need to manually interactively feed in my password for each server one after the other. Below is the script I am using:
#!/bin/bash
input="serverlist.txt"
while IFS= read -r var <&3
do
echo $var
ssh user1@$var
done 3< "$input"
I get password prompt for the first server. If I dont have... (1 Reply)
Discussion started by: mohtashims
1 Replies
LEARN ABOUT PLAN9
xbacklight
XBACKLIGHT(1) General Commands Manual XBACKLIGHT(1)NAME
xbacklight - adjust backlight brightness using RandR extension
SYNOPSIS
xbacklight [-help] [-display display] [-get] [-set percent] [-inc percent] [-dec percent]
DESCRIPTION
Xbacklight is used to adjust the backlight brightness where supported. It finds all outputs on the X server supporting backlight brightness
control and changes them all in the same way.
-get Print out the current backlight brightness of each output with such a control. The brightness is represented as a percentage of the
maximum brightness supported.
-set percent
Sets each backlight brightness to the specified level.
-inc percent
Increases brightness by the specified amount.
-dec percent
Decreases brightness by the specified amount.
-help Print out a summary of the usage and exit.
-time milliseconds
Length of time to spend fading the backlight between old and new value. Default is 200.
-steps number
Number of steps to take while fading. Default is 20.
SEE ALSO Xrandr(3)AUTHORS
Keith Packard, Open Source Technology Center, Intel Corporation.
X Version 11 xbacklight 1.1.2 XBACKLIGHT(1)