- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to report disk space availability at remote lo...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2003 03:32 PM
тАО08-07-2003 03:32 PM
Traditional hp-ux commands were unsuccessful while engaged in ftp session i.e. du -f; bdf; bf
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2003 03:40 PM
тАО08-07-2003 03:40 PM
Re: How to report disk space availability at remote location within ftp session?
![command [args]]
Invoke a shell on the local host. The SHELL environment variable specifies which shell program to invoke. ftp invokes /usr/bin/sh if SHELL is undefined. If command is specified, the shell executes it and returns to ftp. Otherwise, an interactive shell is invoked. When the shell terminates, it returns to ftp.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2003 04:06 PM
тАО08-07-2003 04:06 PM
Re: How to report disk space availability at remote location within ftp session?
Thanks for the info; however, it invokes the shell on the local host - I would like to execute shell commands on the remote host to obtain my disk space data.
Point of clearification - it is the remote site disk info that I am trying to obtain within my ftp session. I would like to get the total space allocated and space used or percent used of the remote location - I only have access to this remote box via an ftp session from my machine. I can not just telnet or rumba my way into this remote box.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2003 04:14 PM
тАО08-07-2003 04:14 PM
Re: How to report disk space availability at remote location within ftp session?
"| ls -lt".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2003 04:16 PM
тАО08-07-2003 04:16 PM
Re: How to report disk space availability at remote location within ftp session?
ls . "| more".
The above command lists the files in the current directory page by page.
put "| tail -20 loc_file" rem_file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2003 04:23 PM
тАО08-07-2003 04:23 PM
Re: How to report disk space availability at remote location within ftp session?
My understanding is that you cannot do this from within an ftp session.
A man on ftp will show you all the commands available from within an ftp session.
You'll need some sort of access to the server (telnet, remsh, ssh) to be able to get this info.
Maybe others will have a better idea. I understand Curt's thinking but can you show an example of using the bdf/du command?
Cheers
Con
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2003 04:59 PM
тАО08-07-2003 04:59 PM
Solutionsite exec /usr/bin/bdf
But if the remote ftp server does not allow SITE EXEC commands, then you're out of luck and you'll have to call someone to tell you what bdf shows. The man page for ftpd gives the possible SITE commands (but may be overriden by ftpd config files)
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2003 05:02 PM
тАО08-07-2003 05:02 PM
Re: How to report disk space availability at remote location within ftp session?
$ dir mkdir pwd status
account disconnect mls quit struct
append form mode quote system
ascii get modtime recv sunique
bell glob mput reget tenex
binary hash newer rstatus trace
bye help nmap rhelp type
case idle nlist rename user
cd image ntrans reset umask
cdup lcd open restart verbose
chmod ls prompt rmdir ?
close macdef proxy runique
cr mdelete sendport send
delete mdir passive site
Above is only command which be executed inside ftp.
I don't think you can do that.
May be other's sifu have any idea which I loved to know also.
regards
mB