Sponsored Content
Top Forums Shell Programming and Scripting Pause shell script till folder doesn't change size anymore Post 302536225 by tukuyomi on Monday 4th of July 2011 03:35:11 PM
Old 07-04-2011
Yes, # Script does its stuff and # Do other stuff will be executed only once.
 

10 More Discussions You Might Find Interesting

1. AIX

how to change the font size of shell in $ prompt

Can any help me to change the default font type and its size.. To clear more about my question.. Once i login to my unix domain... the font it displaying is of small size... all my shell commands i am executing in $ prompt also carries the same style(ls, date and echo...) i searched whole... (2 Replies)
Discussion started by: tsjpraveen
2 Replies

2. UNIX for Dummies Questions & Answers

connection doesn't work anymore

Hello, first of all, I want to make myself clear about my language. I'm brazilian, so I ask you all to understand if i commit any mistake with the grammar. Here is the problem. Some days ago I needed to use a "sh" command in the Terminal (I use a Mac OSX 10.5.6) followed by a file... (0 Replies)
Discussion started by: anubisbr
0 Replies

3. UNIX for Dummies Questions & Answers

Sendmail not working anymore after resolv.conf change

Hi there, I am having a small issue with the mail function on our controllers. Recently we set up all the boxes as NFS slave servers and mail sending was not affected. We then had to change the servers addresses in resolv.conf and now email is being queued and not being sent. I have restarted... (3 Replies)
Discussion started by: lodey
3 Replies

4. Shell Programming and Scripting

How to pause a shell script

Hi, I've written a shell script to take photos with my camera. After every picture taken, the picture is transmitted to the computer via usb and then deleted on the camera. But sometimes there's an error and the picture is not deleted and so, after a certain time, the camera chip will be... (4 Replies)
Discussion started by: McLennon
4 Replies

5. Shell Programming and Scripting

How to introduce delay in Shell Script till a key stroke.

Hi All, How to introduce delay in the Bash/Shell Script till key stroke. Below is the requirement.. 1.Execute set of commands. 2.Display the message echo "press any key to continue" Introduce a delay till key stroke. 3.Execute next set of commands. Thanks in Advance Sunil.K (5 Replies)
Discussion started by: sunilrk07
5 Replies

6. Shell Programming and Scripting

Log folder size monitoring script

Hi All, Can anyone refer to me a readymade script for the purpose of log folder size monitoring script. Example : I have a log folder of size 10 G, and as the logs keep accumulating the folder gets full and i have to manually zip/remove the files in order to keep the server running. Something... (1 Reply)
Discussion started by: findjai
1 Replies

7. Red Hat

Removing LVM Volume Group that doesn't exist anymore

Our SAN administrator decided to unpresent then destroy LUN's we were actively using as a volume group (all PV's in said volume group). Now every time I do a pvscan or whatever it complains about I/O errors trying to access those PV's. How do I get it to forget the VG existed completely? vgreduce... (7 Replies)
Discussion started by: thmnetwork
7 Replies

8. Shell Programming and Scripting

UNIX script to get folder size

can any one help me with a unix command to find out the size of each directory for files placed between 2 dates i.e., date1 & date 2? (3 Replies)
Discussion started by: Codesearcher
3 Replies

9. UNIX for Dummies Questions & Answers

Shell Script for displaying the line till the target word

" Script for display sentences with special character" Hi, Could any one share a command how to display a line until my target word. For ex: My file has the content as: select * from db_wrk where col1 < col2 insert into table_name values('1','2','tst','wrk','dev','prod') My target... (10 Replies)
Discussion started by: Kalaiselvi66
10 Replies

10. Shell Programming and Scripting

Request for Shell script to move files from Subfolder to Parent folder and delete sub folder

Hi Team, I am new to shell script and there is a requirement where files should be moved from Subfolder to parent folder. Eg: parent folder --> /Interface/data/test/IN Sub folder -->/Interface/data/test/IN/Invoice20180607233338 Subfolder will be always with timestamp... (6 Replies)
Discussion started by: srivarun15
6 Replies
mipagentstat(1M)					  System Administration Commands					  mipagentstat(1M)

NAME
mipagentstat - show Mobile IP Mobility Agent status SYNOPSIS
mipagentstat [-fhp] DESCRIPTION
Use the mipagentstat utility to display the content of various Mobile-IP related data structures. Visitor Table (First Form) The visitor table display lists information for all mobile nodes registered with the foreign agent, one mobile node per line. This list consists of the mobile node's home address or Network Access Identifier (NAI), home agent address, total registration lifetime and the num- ber of seconds remaining before the registration expires. The following command line shows the output from a foreign agent with two mobile nodes registered: example# mipagentstat -f Mobile Node Foreign Agent Time Granted Time Remaining Flags (in secs) (in secs) foobar@xyz.com fa1@tuv.com 600 125 10.1.5.23 123.2.5.12 1000 10 R An "R" in the flags column indicates a reverse tunnel is present. No reverse tunnel is configured for the mobile node foobar@xyz.com. A reverse tunnel is configured from mobile node 10.1.5.23. Binding Table (Second Form) The binding table display lists information for all mobile nodes registered with the home agent, one mobile node per line. This list con- sists of the mobile node's home address or NAI, foreign agent address, total registration lifetime and the number of seconds remaining before the registration expires. Use the following command line to show the output from a home agent with two active mobile nodes: example# mipagentstat -h Mobile Node Home Agent Time Granted Time Remaining Flags (in secs) (in secs) foobar@xyz.com ha1@xyz.com 600 125 10.1.5.23 10.1.5.1 1000 10 R An "R" in the flags column indicates a reverse tunnel is present. No reverse tunnel is configured for the mobile node foobar@xyz.com. A reverse tunnel is configured for mobile node 10.1.5.23. Agent Table (Third Form) The agent table display lists information for all current mobility agent-peers, that is all mobility agents with which mobile-nodes we are servicing are trying to obtain service. Provided in this display are the IPsec protection mechanisms being used with registration requests, replies, and tunnels. Use the following command line to show the output from a home agent with two (foreign) mobility agent peers: example# mipagentstat -hp Foreign ..... Security Association(s)..... Agent Requests Replies FTunnel RTunnel ------------------------ -------- -------- -------- -------- fa.eng.example.com AH,ESP AH,ESP AH,ESP AH,ESP fa.central.example.com AH AH ESP ESP Use the following command line to show the output from a home agent with two (foreign) mobility agent peers: example# mipagentstat -fp Home ..... Security Association(s) ..... Agent Requests Replies FTunnel RTunnel ------------------------ -------- -------- -------- -------- ha.eng.example.com AH,ESP AH,ESP AH,ESP AH,ESP ha.central.example.com Use of the -p option without specifying the agent results in both displays described above, that is one display for each agent. An AH in any column indicates the IPsec AH mechanism is in place for those datagrams. An ESP in any column indicates the IPsec ESP mechanism is in place for those datagrams. OPTIONS
The following options are supported: -f Display the list of active mobile nodes in the foreign agent's visitor's list. -h Display the list of active mobile nodes in the home agent's binding table. -p Display the list of mobility agent peers, and the IPsec protection mechanisms currently in use for registration and tunnel traf- fic. EXIT STATUS
The following exit values are returned: 0 Successful completion. non-zero An error occurred. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWmipu | +-----------------------------+-----------------------------+ SEE ALSO
mipagent(1M), mipagentconfig(1M), mipagent.conf(4), attributes(5) Aboda, B., and Beadles, M. RFC 2486, The Network Access Identifier. The Internet Society, 1999. SunOS 5.10 11 Dec 2001 mipagentstat(1M)
All times are GMT -4. The time now is 09:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy