LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-23-2021, 08:01 AM   #1
prav33n.d@gmail.com
LQ Newbie
 
Registered: Jul 2021
Posts: 3

Rep: Reputation: Disabled
HP-UX servers


Can we have a option to check mount size in GB's....!

By using bdf?
 
Old 07-23-2021, 08:13 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by prav33n.d@gmail.com View Post
Can we have a option to check mount size in GB's....! By using bdf?
You re-opened another ten year old thread with this same question; don't post duplicates or reopen old threads...read the LQ Rules. And have you read the man page on bdf, to see what it does?

You don't say what version of HP/UX you're using, or what you've done/tried on your own, or what your goal actually is. The df command can output what you need (and it also has a man page). And since HP/UX is a commercial, PAY FOR distro, have you called HP Support, or looked in their knowledgebase?
 
Old 07-23-2021, 02:39 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,980

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
No direct use of bdf. Other linux tools to gain the data exist.
 
Old 07-25-2021, 11:59 PM   #4
MadeInGermany
Senior Member
 
Registered: Dec 2011
Location: Simplicity
Posts: 2,790

Rep: Reputation: 1201Reputation: 1201Reputation: 1201Reputation: 1201Reputation: 1201Reputation: 1201Reputation: 1201Reputation: 1201Reputation: 1201
Code:
df -kP
might give you the best output format.
But the values are in kilobytes.
 
Old 07-27-2021, 08:13 AM   #5
prav33n.d@gmail.com
LQ Newbie
 
Registered: Jul 2021
Posts: 3

Original Poster
Rep: Reputation: Disabled
HP-UX

But df -kP not working in HP-UX operating system
 
Old 07-27-2021, 08:25 AM   #6
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940
Linux® and Unix® are similar, but not exactly the same.
 
Old 07-27-2021, 08:36 AM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by prav33n.d@gmail.com View Post
But df -kP not working in HP-UX operating system
Ok...so as said before, either read the man page on bdf, script something to parse things out, or contact HP support. Again, HP/UX is a commercial, PAY FOR distro. In their knowledgebase, they have answers to this very question. Have you looked at the man page for the df command? The du command??

You are going to have to show some efforts of your own; further, you still haven't said what version of HP/UX you're using, and telling us "not working" isn't a good problem description....can you not post the message you're getting??
 
Old 07-27-2021, 02:38 PM   #8
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,980

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
"But df -kP not working in HP-UX operating system"

Doohhh! I thought the OP meant in linux.

HP should have entire documentation for it's OS on their site. Otherwise you will have to search web for other man pages on that command. https://nixdoc.net/man-pages/HP-UX/man1m/bdf.1m.html
 
Old 07-28-2021, 02:21 PM   #9
MadeInGermany
Senior Member
 
Registered: Dec 2011
Location: Simplicity
Posts: 2,790

Rep: Reputation: 1201Reputation: 1201Reputation: 1201Reputation: 1201Reputation: 1201Reputation: 1201Reputation: 1201Reputation: 1201Reputation: 1201
Quote:
Originally Posted by prav33n.d@gmail.com View Post
But df -kP not working in HP-UX operating system
Really? What error message do you get? What version of HP-UX is it?
Try
Code:
df -Pk
Options -k and -P are described in https://nixdoc.net/man-pages/HP-UX/man1/df.1m.html
And mentioned in https://community.unix.com/t/looking...related/383399
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to set DNS servers? How to stop auto change of DNS servers? newtovanilla Linux - Newbie 1 10-29-2008 09:19 PM
Setting name servers on multiple servers centosfan Linux - Server 3 01-23-2008 03:43 PM
help you get the best bp servers and mailing servers bp.server General 1 10-03-2007 02:30 PM
LXer: Linux on eServer Products > Servers > IBM eServer Linux on eServer Products > Servers > IBM eServer Linux on eServer LXer Syndicated Linux News 0 01-25-2006 07:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration