Sponsored Content
Top Forums Shell Programming and Scripting Here is an interesting idea... Post 302121191 by lm_admin_dh on Tuesday 12th of June 2007 10:15:21 AM
Old 06-12-2007
Here is an interesting idea...

Does anyone know how to test if an ethernet interface is alive, or accepting connections? Here is the scenario - I have rsc and sc console interfaces on some Suns. There are some sporadic vulnerability scans that send them out to lunch when they run the scans. I have to login to the host and reset the console cards with the software installed on the host, but if the host gets honked up it is the wrong time to find out if my console connection isn't working.
So, I've been thinking about a script that could just check to make sure all of my consoles are alive and if not, I can reset them before something happens. Like maybe
for $IP
do
$some_way_to_check_consoles
done

This would be cool to see, either sh, csh, ksh, whatever!
D
 

5 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Limitations of awk? Good idea? Bad idea?

Keeping in mind that I'm relatively comfortable with programming in general but very new to unix and korn/bourne shell scripts.. I'm using awk on a CSV file, and then performing calculations and operations on specific fields within specific records. The CSV file I'm working with has about 600... (2 Replies)
Discussion started by: yongho
2 Replies

2. What is on Your Mind?

How can I get some interesting books?

I am not a native English speaker. I wanna improve my English. But I am kind of lazy, so I decide to pratice my English by reading English novel. I'd like read books about magic or superman and so on. How can I get that kind of books from Internet? I'll really appreciate it!! (4 Replies)
Discussion started by: virmin
4 Replies

3. UNIX for Dummies Questions & Answers

Interesting question :-D

first off, i LOVE unix to death, but i really only like the text/console side of it. im not big into the XFree86/Xwindows side of things.. so with that known... im in search of really old *nix's.. like way outdated, floppy OS's from way back in the day. im kinda in search of the pure'r UNIX's.... (0 Replies)
Discussion started by: 01000101
0 Replies

4. Shell Programming and Scripting

Interesting problem

Hello, So I'm utilizing the bash brace expansion feature to checkout multiple folders from cvs with ease, while excluding certain subfolders within. So I do a command like this: cvs co trunk/{mod_a,mod_b,mod_c} \!trunk/{mod_a,mod_b,mod_c}/web to checkout modules trunk/mod_a , trunk/mod_b ,... (1 Reply)
Discussion started by: neked
1 Replies

5. Shell Programming and Scripting

interesting problem

Hi, I am new in this forum and I am glad to be a part of it. I have a problem that has two parts: 1/ extract just the timestamp from a filename: for example, I have a file called 'sales20080226144525.txt' and I want to extract just the '20080226144525' part out of it. 2/ Now, take that... (5 Replies)
Discussion started by: ChicagoBlues
5 Replies
cvcd(1M)						  System Administration Commands						  cvcd(1M)

NAME
cvcd - virtual console daemon SYNOPSIS
/platform/platform_name/cvcd DESCRIPTION
The virtual console daemon, cvcd, is a server process that supports the network console provided on some platforms. The cvcd daemon accepts network console connections from a remote host (only one host at any given time). Console input is read from this connection and forwarded to cvc(7D) by way of cvcredir(7D). Similarly, console output is read from cvcredir(7D) and forwarded across the network console connection. If cvcd dies, console traffic is automatically rerouted through an internal hardware interface. The cvcd daemon normally starts at system boot time. Each domain supports only one cvcd process at a time. Caution: On Sun Enterprise 10000 domains, cvcd uses a configuration file (/etc/ssphostname) to determine the name of the host from which network console connections are allowed. If the remote console host is renamed, you must edit the configuration file to reflect that change. OPERANDS
The following operands are supported: platform_name The official Sun platform name used in packaging and code. For example, for Sun Fire 15K servers, the platform_name would be SUNW,Sun-Fire-15000. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Architecture |Sun Enterprise 10000 | | |servers, Sun Fire High-End | | |Systems | +-----------------------------+-----------------------------+ |Availability |SUNWcvc.u | +-----------------------------+-----------------------------+ SEE ALSO
svcs(1), svcadm(1M), services(4), attributes(5), smf(5), cvc(7D), cvcredir(7D) Sun Enterprise 10000 SSP Reference Manual System Management Services (SMS) Reference Manual NOTES
The cvcd service is managed by the service management facility, smf(5), under the service identifier: svc:/system/cvc Administrative actions on this service, such as enabling, disabling, or requesting restart, can be performed using svcadm(1M). The ser- vice's status can be queried using the svcs(1) command. SunOS 5.10 11 Aug 2004 cvcd(1M)
All times are GMT -4. The time now is 09:13 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy