Sponsored Content
Operating Systems AIX Hostname of where any windows is opened ? Post 302364483 by zaxxon on Friday 23rd of October 2009 07:56:40 AM
Old 10-23-2009
Test if a
Code:
who am i

shows from which host you are logged in. On AIX I get this:
Code:
root@host2> who am i
root        pts/1       Oct 23 13:51     (host1)
root@host2:/root> who am i| sed 's/[^(]*(\([^)]*\))/\1/'
host1

You could use that in your command to export DISPLAY.
 

8 More Discussions You Might Find Interesting

1. HP-UX

How to get the opened files by a process

Hi, i'd like to get the files which are opened by a process during his execution using the c language. Thanks for helping me. (2 Replies)
Discussion started by: benoit.gaillard
2 Replies

2. UNIX for Dummies Questions & Answers

Solaris - unknown hostname - how can I change hostname?

Hello, I am new to Solaris. I am using stand alone Solaris 10.0 for test/study purpose and connecting to internet via an ADSL modem which has DHCP server. My Solaris is working on VMWare within winXP. My WinXP and Solaris connects to internet by the same ADSL modem via its DHCP at the same... (1 Reply)
Discussion started by: XNOR
1 Replies

3. Shell Programming and Scripting

Checking if any folder is opened or not?

Alogorithm: ============= Whenever any user open any specific directory: 1) cd /usr/lib The prompt should show an Alert message like 2) echo "You have opened this folder" How should I write shell script this one?.. It should be irrespective of users and... (11 Replies)
Discussion started by: Niroj
11 Replies

4. Shell Programming and Scripting

Keep database connection opened!

Hello. I have to make a script with more than 1 SQL query and the problem is that i have to alternate from sql commands to unix commands. what i would like to know if it's posible(and how) to keep the databse connection opened till last sql command is ran and execute unix commands while the... (2 Replies)
Discussion started by: daniel1988
2 Replies

5. Emergency UNIX and Linux Support

HP UX - ILO Console hostname different than Machine Hostname...

Hi All, So we added a new HP-UX 11.31 machine. Copied OS via Ignite-UX (DVD)over from this machine called machine_a. It was supposed to be named machine_c. And it is when you log in...however when I'm in the ILO console before logging in, it says: It should say: What gives? And how do... (4 Replies)
Discussion started by: zixzix01
4 Replies

6. Shell Programming and Scripting

File exists, but cannot be opened.How to check- whether it could be opened to read when it exists

Hi #Testing for file existence if ; then echo 'SCHOOL data is available for processing' else echo 'SCHOOL DATA IS NOT AVAILABLE FOR PROCESSING' : i wrote a script, where it begins by checking if file exists or not. If it exists, it truncates the database... (2 Replies)
Discussion started by: rxg
2 Replies

7. UNIX for Advanced & Expert Users

Hostname -f hostname: Unknown host

deleted (0 Replies)
Discussion started by: hce
0 Replies

8. Shell Programming and Scripting

Get Hostname in UNIX like environment in Windows (Cgwin, UWin)

Hi, I'm using UWIN (from at&t - a cygwin like environment) in my personal computer to show Unix like environment to someone new to Unix. Though UWin has Ksh command box, wanted to show Putty to that person. My question is. How to connect to Cygwin (or UWin) installed in personal computer... (2 Replies)
Discussion started by: bobbygsk
2 Replies
AMOVERVIEW(8)						      System Manager's Manual						     AMOVERVIEW(8)

NAME
amoverview - display file systems processed by Amanda over time SYNOPSIS
amoverview [[ -config ] config ] [ [-hostwidth width] ] [ [-diskwidth width] ] [ -verbose ] DESCRIPTION
Amoverview displays a chart showing hosts and file systems processed by Amanda along with the backup level performed each day. See the amanda(8) man page for more details about Amanda. OPTIONS
[-config config] Use configuration config instead of DailySet1. [-hostwidth width] Set host field column width to width characters instead of eight. [-diskwidth width] Set disk field column width to width characters instead of 20. -verbose Amoverview can take a long while on large systems. This option reports intermediate steps while it is working. EXAMPLE
This shows the /home file system on host2 was backed up at level 3 on the 8th, 9th and 10th of December, had a full backup on the 11th, a level 1 on the 12th and a level 2 on the 13th. # amoverview date 12 12 12 12 12 12 host disk 08 09 10 11 12 13 host1 / 0 1 1 1 1 1 host1 /var 0 1 1 1 1 1 host2 / 1 1 1 1 1 0 host2 /home 3 3 3 0 1 2 host2 /opt 1 1 1 1 1 1 host2 /var 1 1 0 1 1 1 SEE ALSO
amadmin(8), amanda(8) AMOVERVIEW(8)
All times are GMT -4. The time now is 01:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy