Presently i am trying to do basic checks on my my-sql cluster boxes.
The command ndb_mgm checks for the cluster environment details by typing the show command, and exit to come out of the ndb_mgm command.
Rather, than typing i have made a script abc.sh with the below contents in the below details
Here, once i run the script, the above command goes into iteration, and the details of show are shown on the screen in a continuous process,
(i.e:the same data is shown repetedly).Hence i just want to show it once on the screen and do the exit in-order for me to come out of the ndb_mgm command
Can anyone advise me ?
Regards
Whizkid
Last edited by whizkidash; 06-02-2015 at 07:44 AM..
Hi All,
unable to fetch the bios configuration information and service provider information in centos 5 using dmidecode command.
ServiceProvider=`dmidecode -s system-product-name |awk '{print $1}'`
BIOS_Configuration=`dmidecode | grep "BIOS Information" -A10 | grep -e... (4 Replies)
Hi Experts,
I wanted to extend a veritas file system which is running on veritas cluster and mounted on node2 system.
#hastatus -sum
-- System State Frozen
A node1 running 0
A node2 running 0
-- Group State
-- Group System Probed ... (1 Reply)
in cygwin, cron-config will ask two inputs: yes or no.
1st question, answer is no
2nd question, answer is yes
my script:
echo no | cron-config
how do i pass yes to 2nd question ? (4 Replies)
I have scheduled couple of shell scripts to run using 'at' command.
The o/p of at -l is:
$ at -l
1320904800.a Thu Nov 10 01:00:00 2011
1320894000.a Wed Nov 9 22:00:00 2011
1320876000.a Wed Nov 9 17:00:00 2011
$ uname -a
SunOS dc2prcrptetl2 5.9 Generic_122300-54 sun4u sparc... (2 Replies)