10-16-2007
I think it's maybe the other way around. 11.31 is working correctly. Anyway. pstat_getdisk is supposed to return -1 on error and return the number of instances processed. You do know you could set the index to start, and get, say, 40 disks with one call?
Read the docset for pstat here (the man pages are, um, not helpful sometimes)
http://docs.hp.com/en/1216/pstat_whitepaper.pdf
10 More Discussions You Might Find Interesting
1. HP-UX
hi
1).in the command "set" result, the 2nd line is
EDITOR=vi
is it means the vi editor is the default editor?
2). is "nedit"editor available in hpux 11iv2?
if no how to install or work in nedit in hpux 11i? (0 Replies)
Discussion started by: sekar sundaram
0 Replies
2. UNIX for Dummies Questions & Answers
Howdie everyone...
I have a shell script RemoveFiles.sh
Inside this file, it only has two commands as below:
rm -f ../../reportToday/temp/*
rm -f ../../report/*
My problem is that when i execute this script, nothing happened. Files remained unremoved. I don't see any error message as it... (2 Replies)
Discussion started by: cheongww
2 Replies
3. HP-UX
how i can enable backspace or charector deletion in hpux11i shell prompt. (12 Replies)
Discussion started by: jestinabel
12 Replies
4. UNIX for Advanced & Expert Users
Is this a bug in ksh on HPUX 11i or is read impromperly documented?
INPUT
Thu Jan 18 09:14:52 PST : CIFS: Virus Detected - File ONTAP_ADMIN$\vol\vol0\DDD\Ventana\Strattoni\Race Stuff\Rumor.exe in share DDD accessed by client CLIENT (111.11.11.111) running as user USER is infected. The filer... (3 Replies)
Discussion started by: Jackaroe
3 Replies
5. AIX
On AIX 5.3 host, the lvm_queryvg call does not work properly and results in a sudden memory rise. This is happening on one particular host and the call works fine on another host.
Is this a known issue and is there any patch available for this? (0 Replies)
Discussion started by: sandiworld
0 Replies
6. Solaris
Hi to all!
I want to learn step by step easily how to configure my Solaris for network. I know alot about Solaris Network configuration. But I have some problems.
When I install Solaris, and I plug-in my network cable to Solaris. Then I run:
ifconfig -a plumb
then I do
ifconfig bge0 dhcp... (7 Replies)
Discussion started by: SecureXCode
7 Replies
7. UNIX and Linux Applications
Hello All,
I am using gvim ( redhat linux machine). backspace doesnot work properly. can some boby suggest a solution ?
i have checked with older version. backspace works in it.
Thanks
Shiv (1 Reply)
Discussion started by: shiv.emf
1 Replies
8. HP-UX
I am new for HPUX OS and want to pursue my career in HPUX Administration.
I could not able to get following information from HP.com site, that why I need an assistance to know that - can I install HPUX 11i V3 OS on old HP B2000 & B1000 workstations (these workstation are 4 to 5 year old) or not,... (5 Replies)
Discussion started by: girish.batra
5 Replies
9. HP-UX
Hi,
I'm wrote a small program on HPUX that uses wcsftime, but this function seems to be not working - I get 0 as a result, the output buffer returns empty, and errno is 0 :
#include <iostream>
using namespace std;
int main ()
{
size_t formattedTimeLength = 0;
wchar_t formattedTime... (9 Replies)
Discussion started by: itaiy
9 Replies
10. Red Hat
Hi,
I have list of files under a directory as shown below.
/home/root
-rw-r--r-- 1 user 0 Aug 27 06:08 rough.txt
-rw-r--r-- 1 user 0 Aug 27 06:08 test.sh
Now when i use to read the rough.txt, i did cat r and then pressed TAB button. Below is the resulting string after pressing TAB... (2 Replies)
Discussion started by: vel4ever
2 Replies
LEARN ABOUT HPUX
tt_host_netfile_file
tt_host_netfile_file(library call) tt_host_netfile_file(library call)
NAME
tt_host_netfile_file -- map between canonical and local pathnames on a remote host
SYNOPSIS
#include <Tt/tt_c.h>
char *tt_host_netfile_file(
const char *host,
const char *netfilename);
DESCRIPTION
The tt_host_netfile_file function performs a conversion equivalent to that of the tt_netfile_file(3) function, but performs it on a remote
host.
The host argument is the host on which the file resides. The netfilename argument is a copy of a null-terminated string returned by
tt_netfile_file(3) or tt_host_netfile_file(3).
RETURN VALUE
Upon successful completion, the tt_host_netfile_file function returns a freshly allocated null-terminated string of unspecified format,
which can be passed to tt_host_netfile_file(3); otherwise, it returns an error pointer. The application can use tt_ptr_error(3) to extract
one of the following Tt_status values from the returned pointer:
TT_ERR_DBAVAIL
The ToolTalk database server could not be reached on host, perhaps because the host is unavailable or cannot be reached through
the network.
TT_ERR_DBEXIST
The ToolTalk database server is not properly installed on host.
TT_ERR_NETFILE
The netfilename is not a valid netfilename.
TT_ERR_UNIMP
The ToolTalk database server contacted is of a version that does not support tt_host_netfile_file.
APPLICATION USAGE
The tt_file_netfile(3), tt_netfile_file(3), tt_host_file_netfile(3) and tt_host_netfile_file(3) functions allow an application to determine
a path valid on remote hosts, perhaps for purposes of constructing a command string valid for remote execution on that host. By composing
the two calls, paths for files not accessible from the current host can be constructed. For example, if path /sample/file is valid on host
A, a program running on host B can use
tt_host_netfile_file("C", tt_host_file_netfile("A", "/sample/file"))
to determine a path to the same file valid on host C, if such a path is possible.
Allocated strings should be freed using either tt_free(3) or tt_release(3).
The tt_open(3) function need not be called before tt_host_netfile_file.
SEE ALSO
Tt/tt_c.h - Tttt_c(5), tt_file_netfile(3), tt_netfile_file(3), tt_host_file_netfile(3), tt_open(3), tt_free(3), tt_release(3).
tt_host_netfile_file(library call)