- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- rexec from Windoze
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
Forums
Discussions
Discussions
Discussions
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
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
01-24-2003 11:44 AM
01-24-2003 11:44 AM
rexec servera "iostat 1 2 |grep c6t0d2 |cut -c 12-17|grep -v 0"
This should give me the bps rate for the device 'c6t0d2' which I can then graph in MRTG.
The problem seems to be authentication with the Windoze version of rexec? I created a .netrc file on servera without luck. The file is located in '/' and contains the following:
machine #####.###.### login ### password ###
Is the format correct? Based on what I have seen it looks right. I am currently using .netrc for other hosts that seem to work, but they are not windoze based. I would also like to stay away from using .rhosts for security reasons.
On a side note, is there a better way to get the information out of iostat and/or sar to be graphed on my Windoze-based MRTG system? I am specifically looking to expand this by gathering disk information from 2 disks including all sar and iostat data.
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2003 11:48 AM
01-24-2003 11:48 AM
Re: rexec from Windoze
.netrc will have no effect on rexec. It's for ftp.
rexec will prompt for the password. All r-commands usually packaged together so use remsh. Since iostat can be run as an ordinary user, setup .rhosts account for an user and use "remsh" on the window client to connect to the unix box.
Look at remsh man page for more options.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2003 11:53 AM
01-24-2003 11:53 AM
Re: rexec from Windoze
http://docs.hp.com/cgi-bin/onlinedocs.py?mpn=B2355-90683&service=hpux&path=../B2355-90683/00/04/490&title=HP-UX%20Reference%20Volume%204%3A%20Section%203
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2003 11:56 AM
01-24-2003 11:56 AM
Re: rexec from Windoze
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2003 12:18 PM
01-24-2003 12:18 PM
SolutionSo, you have to create it on your PC. You may have to check the documentation of your r-comands packages to see in which directory it looks for .netrc.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2003 12:25 PM
01-24-2003 12:25 PM
Re: rexec from Windoze
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2006 06:16 PM
06-01-2006 06:16 PM
Re: rexec from Windoze
I know, its a very old issue but how have you solved the problem?
I have the same, and i'm looking for an answere.
thx
Knud
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2006 04:01 AM
06-02-2006 04:01 AM
Re: rexec from Windoze
I was able to resolve the problem in testing by ensuring that I was logged in as the same user on the local machine as the remote machine was expecting. Passwords had to match as well. Beyond that I don't recall anything too strange about the configuration. I do recall getting some Windows-specific help from somewhere on the 'net but have no idea where it came from. I suspect that Goggle or another search engine would be able to provide some answers for you there.
Good luck.