12-04-2019
How to make df command?
in RHEL 6.10, how can we make the the df -k return the output without wrapping. And wihout using the df -Pk option. After we patched a Linux server from 6.5 to 6.10:
The df -k on RHAT 6.10 it wraps the line for ex:
6.10:
/dev/mapper/vgapp01-vendor
5160576 1731696 3166736 36% /vendor
Where 6.5 keeps it on one line:
6.5:
/dev/mapper/vgapp01-vendor 5160576 2041056 2857376 42% /vendor
The only way to keep from wrapping in 6.10 is to run the df -k command as df -Pk.
However, how can we make df -k behave at the server level like df -Pk ?
Thanks
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Dear Guys ,
Kindly note that i have sun solaries 8 intel machine .
i installed apache and it is working fine .
i am installing perl5 , MD5 and CGI .
but whenever i execute the commands , make , make test and make install i get error message : not found
# make
make: not found
also i... (2 Replies)
Discussion started by: tamemi
2 Replies
2. UNIX for Dummies Questions & Answers
hi
i tried to search for the "make" command but to no avail.
this is what happens:
when i try to type the "make" command,
it prompt me the error "
csh:make:not found
***error code 1
make:Fatal error: command fail for target 'all' "
i have just freshly install solaris 9 on my server.... (8 Replies)
Discussion started by: legato
8 Replies
3. Solaris
Hey Guys....
I installed Solaris 10 (10/08) on _X86 platform, I need install any software of load balance. I find the pen-0.18.0-sol10-x86-local software.
I cant finish the install process , i dont find the make command, I think this command is associated to the C compiler process.
But... (2 Replies)
Discussion started by: aggadtech08
2 Replies
4. Solaris
Hi
After downloading and compiling new ntp source for Solaris 10 I used the make command on the ntp directory.
I received the following output:
bash-3.00# make
(bk version) >/dev/null 2>&1 && \
cd . && \
x=`bk -R prs -hr+ -nd:I: ChangeSet` && \
y=`cat version... (2 Replies)
Discussion started by: shaife720
2 Replies
5. UNIX for Advanced & Expert Users
hi guys
would u clarify me how to use make command , how to write rules of make command and to execute . (1 Reply)
Discussion started by: chinakampalli p
1 Replies
6. Solaris
hi, I'was trying to compile a simple game , just for testing the system, but the make command gave me problems, so I read that it was best to have a gnu make package installed so I made
pkgrm SUNWgmake
and installed the gnu make from sunfreesoftware, the problem is that now when I run make... (9 Replies)
Discussion started by: freeware
9 Replies
7. Solaris
dears
what i need to make is
cp -irp file_name filename
tar cvf filename.tar filename
gzip filename.tar
in one commane using exec
it that prossible and how can i do that (4 Replies)
Discussion started by: xxmasrawy
4 Replies
8. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
File hello.h
#include <stdio.h>
File main.c
#include "hello.h"
main()
{
printhello();
... (4 Replies)
Discussion started by: lilbo4231
4 Replies
9. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Compile cpp2html.c to produce cpp2html.o.
( Important: the source code in these files is C, not C++, and so... (8 Replies)
Discussion started by: lamentofking
8 Replies
10. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
]Compile cpp2html.c to produce cpp2html.o.
( Important: the source code in these files is C, not C++, and so... (1 Reply)
Discussion started by: bgnaranjo1
1 Replies
PORTMAP(8) BSD System Manager's Manual PORTMAP(8)
NAME
portmap -- RPC program,version to DARPA port mapper
SYNOPSIS
portmap [-d] [-v] [-h bindip]
DESCRIPTION
Portmap is a server that converts RPC program numbers into DARPA protocol port numbers. It must be running in order to make RPC calls.
When an RPC server is started, it will tell portmap what port number it is listening to, and what RPC program numbers it is prepared to
serve. When a client wishes to make an RPC call to a given program number, it will first contact portmap on the server machine to determine
the port number where RPC packets should be sent.
Portmap must be started before any RPC servers are invoked.
Portmap uses hosts_access(5) access control by default. Access control patterns may only reference IP addresses.
Normally portmap forks and dissociates itself from the terminal like any other daemon. Portmap then logs errors using syslog(3).
The following options are available:
-d Prevent portmap from running as a daemon, and causes errors and debugging information to be printed to the standard error output.
-v Enable verbose logging of access control checks.
-h Specify specific IP addresses to bind to for UDP requests. This option may be specified multiple times and is typically necessary
when running on a multi-homed host. If no -h option is specified, portmap will bind to INADDR_ANY, which could lead to problems on a
multi-homed host due to portmap returning a UDP packet from a different IP address than it was sent to. Note that when specifying IP
addresses with -h, portmap will automatically add 127.0.0.1 to the list.
SEE ALSO
hosts_access(5), inetd.conf(5), inetd(8), rpcinfo(8)
BUGS
If portmap crashes, all servers must be restarted.
HISTORY
The portmap command appeared in 4.3BSD.
BSD
June 6, 1993 BSD