Kingsto88
6th December 2006, 02:44
Hi experts,
I am trying to find out the free space on my unix server with informix db.
I see this when I use df -k
file system 1024-blocks used available
/usr 10240000 5394233 4809512
does this mean allocated for /usr is 10GB or 10 MB?
Also I have my baan data in raw disk. I don't think df -k shows my free space in the raw disk. How do I find out the free space in the raw disk?
Thanks and regards,
norwim
6th December 2006, 08:32
Hi there,
df -h shows 'human readible' numbers.
10 million 1k blocks make around 10GB (that's why I don't use -h .... 1 MB isn't 10^6 bytes ... its 1024^2 ... 1 GB 1024^3)
Not firm in informix ... but isn't there something like 'onmonitor'?
The size of a raw device is the amount of diskspace allocated to it.
Only the DB-system using this raw device can tell you how much free space remains within the chunk.
hth
Norbert
Neal Matthews
6th December 2006, 10:24
Informix command onstat -d will show you how much free space (in pages) you have across your database.
Cheers
Neal
Kingsto88
6th December 2006, 11:06
Hi,
I don't need exact figures. For the figures I gave above, does it mean I have AROUND 10GB space allocated for /usr?
Cannot run df -h. No such parameter.
Is it your typo error? Do you mean df -k?
I log in using login id informix and tried command onstat -d. I got this error
'GLS initialization failed, error -23101'
What does this mean?
when i type in onmonitor, i get error 'unable to load locale categories'
Any idea what is wrong.
thanks and regards,
Han Brinkman
6th December 2006, 13:12
1. yes
2. -h is available on linux probably not on your platform.
3. I am not familiar with Informx so I am not going to try to answer these questions.
Rgrds,
Han
günther
6th December 2006, 16:24
$ finderr 23101
-23101 Unable to load locale categories.
An invalid locale name was supplied for the locale initialization.
The environment variable to specify the locale category has a wrong
value. Check the value of the corresponding environment variable,
CLIENT_LOCALE or DB_LOCALE. Also check if INFORMIXDIR points to a valid
directory where Informix products are installed.
If a client application receives this error when it requests a database
server connection, check that the client and database locales are
compatible. They are compatible if a valid locale exists on the server
computer with the name lg_tr.codeset@mod, where lg_tr (language and
territory) and mod (locale modifier) are from the CLIENT_LOCALE and
codeset is from the database locale (from the DB_LOCALE, if it is set,
or as stored in the database).