Sponsored Content
Top Forums Shell Programming and Scripting Script to Reboot a linux box from a windows box Post 302080302 by Crazy_murli on Monday 17th of July 2006 03:30:01 PM
Old 07-17-2006
Bug

Thanks for the info. kevin.

Have not had a chance to work on CYGwin, but have spent sometime to find out the feasabilty.

Also, the job is done through the script alert option available in Sitescope, through which we can reboot [or run any intended script ]on remote linux, machine being monitored by sitescope.

The Script Alert is used to initiate the execution of a script or other program.
Script Alerts provide you with the capability to run automated recovery actions
based on particular monitoring results. This might include automatically rebooting a service or moving files.


Regular visit to this site is a great learning.

Thank you... Smilie
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

VPN client (windows Box),and Server (Unix Box)

If I want to access unix box via VPN tunnel,from windows box. What sould I configure on the windows client PC, and what should I enable on the Unix Server box ? I am using Solaris V10 intel platform, and I am using windows XP, and 2003 for client (0 Replies)
Discussion started by: zillah
0 Replies

2. Shell Programming and Scripting

FTPing from unix box to windows box.

Hi All, I need to know if it is possible ftping files from unix box to windows box . if yes , how ?. Is there any pre-requisits. Please tell me the steps, this is very urgent. Thnx Aru (8 Replies)
Discussion started by: aarora_98
8 Replies

3. UNIX for Dummies Questions & Answers

Running UNIX commands remotely in Windows box from Unix box – avoid entering password

I am able to run the UNIX commands in a Windows box from a UNIX box through "SSH" functionality. But whenever the SSH connection is established between UNIX and Windows, password for windows box is being asked. Is there a way to avoid asking password whenever the SSH connection is made? Can I... (1 Reply)
Discussion started by: D.kalpana
1 Replies

4. Shell Programming and Scripting

Moving files from Unix box to a windows box

Hi All, I need a little help .I want to transfer a file from unix box to a windows box,but the problem i'm facing is that in windows box FTP is not enabled and currently it is nearly impssible to change setting on windows box,i can not use the ftp method ,in my shell script to transfer the file.... (2 Replies)
Discussion started by: Preet
2 Replies

5. UNIX for Dummies Questions & Answers

I need an scp command from a unix box to a windows box.

scp file="myfile.txt" todir="user@somehost:(M:drive:/somepath/)"/ Not sure I need it to go to a specific drive on the windows box (1 Reply)
Discussion started by: xgringo
1 Replies

6. Shell Programming and Scripting

ftp file starting with particular name on Windows box to Unix box using shell script

Hello all ! I'm trying to write a shell script (bash) to ftp a file starting with particular name like "Latest_" that is present on a Windows box to UNIX server. Basically I want to set this script in the cron so that daily the new build that is posted on the Windows box can be downloaded to the... (2 Replies)
Discussion started by: vijayb4u83
2 Replies

7. Windows & DOS: Issues & Discussions

psftp from linux box to windows

Hi all pro I had a script from windows to put diff file from the linux box but i had stuck on it ,how to play around with the %1 @echo off "C:\putty\psftp" linux@1.1.1.1 -pw password -bc -b getfile.scr --getfile.scr lcd "C:\DATA" cd logs/ mget %1 Thanks jiajin (0 Replies)
Discussion started by: lijiajin
0 Replies

8. Red Hat

How to access redhat Linux box graphically from windows box?

Hi I have a linux box and need to access from windows graphically # uname -a Linux pc-l416116 2.6.18-155.el5 #1 SMP Fri Jun 19 17:06:47 EDT 2009 i686 i686 i386 GNU/Linux What components do I need to install on Linux and windows to do that? TIA (6 Replies)
Discussion started by: magnus29
6 Replies

9. Shell Programming and Scripting

Notify when the script run(hourly)on my jump-box only when there is a failure on my remote-box

Team, Presently I have a script, which i have set up cron on one of my Jump-boxes,and gives me the output on every hourly basis,fetching the data from the remote machine.Basically it gives me the list of all active users logged and its count once we execute the script.Here the count is... (6 Replies)
Discussion started by: whizkidash
6 Replies

10. How to Post in the The UNIX and Linux Forums

Copying , renaming the file from windox box and ftp to Linux box

Hello my dear friends, Two file are auto generated from mon - fri at different directories on same windows box.Every day i have to copy the file, rename it (specific name)and ftp it to linux box specified directory. is it possible to automate this process,If yes this has to be done from windows... (1 Reply)
Discussion started by: umesh yadav
1 Replies
Box(3I) 						    InterViews Reference Manual 						   Box(3I)

NAME
Box, HBox, VBox - tile interactors in a box SYNOPSIS
#include <InterViews/box.h> DESCRIPTION
A box is a scene of interactors that are tiled side-by-side in the available space. Interactors are placed left-to-right in a horizontal box, and top-to-bottom in a vertical box. A box will try to stretch or shrink the interactors inside it to fit the available space. The natural size of a box is the sum of its ele- ments along the major axis, and the maximum along its minor axis. A box's stretchability (shrinkability) is the sum of its elements along its major axis and the minimum of its elements along its minor axis. PUBLIC OPERATIONS
HBox(...) VBox(...) Create a new box. Zero to seven interactors may be passed as arguments; the interactors are inserted into the box. void Align(Alignment) Set the alignment mode that the box uses to place elements along the minor axis. The default alignment for an hbox is Bottom; other choices are Top and Center. The default alignment for a vbox is Left; other choices are Right and Center. void Insert(Interactor*) Append an interactor to the box. Components of an hbox (vbox) will appear left-to-right (top-to-bottom) in the order in which they are inserted. void Change(Interactor*) Notify the box that the given interactor's shape has changed. If change propagation is true, the box will modify its own shape to reflect the change and notify its parent. Regardless of propagation, the box will recompute the positions of the component interac- tors and update any that have changed. void Remove(Interactor*) Take an element of out a box. Remove does not cause any immediate change to the other components in the box; the Change operation must be called after one or more Removes to update the component positions. SEE ALSO
Glue(3I), Interactor(3I), Scene(3I), Shape(3I) InterViews 15 June 1987 Box(3I)
All times are GMT -4. The time now is 04:08 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy