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
LEARN ABOUT NETBSD
sane-find-scanner
sane-find-scanner(1) SANE Scanner Access Now Easy sane-find-scanner(1)
NAME
sane-find-scanner - find SCSI and USB scanners and their device files
SYNOPSIS
sane-find-scanner [-h|-?] [-v] [-q] [-p] [-f] [-F filename] [devname]
DESCRIPTION
sane-find-scanner is a command-line tool to find SCSI and USB scanners and determine their Unix device files. Its primary aim is to make
sure that scanners can be detected by SANE backends.
For SCSI scanners, it checks the default generic SCSI device files (e.g., /dev/sg0) and /dev/scanner. The test is done by sending a SCSI
inquiry command and looking for a device type of "scanner" or "processor" (some old HP scanners seem to send "processor"). So
sane-find-scanner will find any SCSI scanner connected to those default device files even if it isn't supported by any SANE backend.
For USB scanners, first the USB kernel scanner device files (e.g. /dev/usb/scanner0), /dev/usb/scanner, and /dev/usbscanner) are tested.
The files are opened and the vendor and device ids are determined, if the operating system supports this feature. Currently USB scanners
are only found this way if they are supported by the Linux scanner module or the FreeBSD or OpenBSD uscanner driver. After that test,
sane-find-scanner tries to scan for USB devices found by the USB library libusb (if available). There is no special USB class for scanners,
so the heuristics used to distinguish scanners from other USB devices is not perfect. sane-find-scanner also tries to find out the type of
USB chip used in the scanner. If detected, it will be printed after the vendor and product ids. sane-find-scanner will even find USB scan-
ners, that are not supported by any SANE backend.
sane-find-scanner won't find most parallel port scanners, or scanners connected to proprietary ports. Some parallel port scanners may be
detected by sane-find-scanner -p. At the time of writing this will only detect Mustek parallel port scanners.
OPTIONS
-h, -? Prints a short usage message.
-v Verbose output. If used once, sane-find-scanner shows every device name and the test result. If used twice, SCSI inquiry informa-
tion and the USB device descriptors are also printed.
-q Be quiet. Print only the devices, no comments.
-p Probe parallel port scanners.
-f Force opening all explicitly given devices as SCSI and USB devices. That's useful if sane-find-scanner is wrong in determining the
device type.
-F filename
filename is a file that contains USB descriptors in the format of /proc/bus/usb/devices as used by Linux. sane-find-scanner tries
to identify the chipset(s) of all USB scanners found in such a file. This option is useful for developers when the output of "cat
/proc/bus/usb/devices" is available but the scanner itself isn't.
devname Test device file "devname". No other devices are checked if devname is given.
EXAMPLE
sane-find-scanner -v
Check all SCSI and USB devices for available scanners and print a line for every device file.
sane-find-scanner /dev/scanner
Look for a (SCSI) scanner only at /dev/scanner and print the result.
sane-find-scanner -p
Probe for parallel port scanners.
SEE ALSO
sane(7), sane-scsi(5), sane-usb(5), scanimage(1), xscanimage(1), xsane(1), sane-"backendname"(5)
AUTHOR
Oliver Rauch, Henning Meier-Geinitz and others
SUPPORTED PLATFORMS
USB support is limited to Linux (kernel, libusb), FreeBSD (kernel, libusb), NetBSD (libusb), OpenBSD (kernel, libusb). Detecting the vendor
and device ids only works with Linux or libusb.
SCSI support is available on Irix, EMX, Linux, Next, AIX, Solaris, FreeBSD, NetBSD, OpenBSD, and HP-UX.
BUGS
No support for most parallel port scanners yet.
Detection of USB chipsets is limited to a few chipsets.
13 Jul 2008 sane-find-scanner(1)