there might be several ways to achieve this, and since it's already implemented you should check where and how the HISTFILE variable is set
you can also do it this way:
first on the ssh client:
set in /etc/profile system wide, or in each users profile:
Code:
REMOTEUSER=${USER}
add to /etc/ssh/ssh_config
Code:
SendEnv REMOTEUSER
on the ssh server:
change /etc/ssh/sshd_config
Code:
AcceptEnv REMOTEUSER
restart sshd
every time you log in, the variable REMOTEUSER is set to the ssh clients source username, now you can use this variable to set an user specific environment
Hi All,
I'm facing the following issue with my shared libraries in AIX.
memory related calls such as memset, memcpy, malloc etc are failing miserably.
there is something wrong with stack/memory which i can't guess.
i've used the following flags to build my libraray:
ld -G... (0 Replies)
Hi All,
I have a problem with the shared objects setup in AIX. We have a customized shell written by the developers over here. When i issue a MQ Series command (mqsilist) it is giving the error as . All the commands making use of this libImbCmdLib.a.so is failing. But when executed in normal... (1 Reply)
I was wondering if anyone knew of any tools that would identify generic scsi disks on servers running AIX 5.3? Going through diag into the hot plugs does not work. I know it used to for 4.3 on some servers I managed with generic scsi but for some reason I either dont the option to choose a disk... (2 Replies)
Hi,
I have a shared AIX wpar configured.
I have started snmpd process on shared AIX wpar.
But when i tried to query a MIB id using the following command
/opt/OV/bin/snmpget -d -v 1 -c public -p <hostname> .1.3.6.1.2.1.1.7.0
i get the following error message
#... (0 Replies)
Guy's
I have more than 20 servers available in different locations and I want to configure CD Rom as NFS between these servers to be sharedCan any one explain the configuration how can NFS or share CD rom between more than 20 servers available in different locationsto be used in one time from all... (5 Replies)
Hi all,
I am developing an application with two components. One "c" binary and one "C++" shared object.
While execution, the shared object crashes out and core dump is created whenever "new" is executed. But if i use malloc this will work perfectly.
I tried to use dbx. Below given was... (1 Reply)
Hi,
I have an application running on AIX. The app is deployed on Webspshere server. Due to some reason, i have to make use of a third party library (Sigar API's) from my application. This library requires an .so file as well.
Is there any location where i can put this *.so file and it will... (1 Reply)
Hello,
I was trying to install python on aix and it was taking too long and I closed the terminal.
Now when i issue the command rpm -qa instead of getting all the rpms installed I'm getting the following error.
root:stud -> $ rpm -qa
cannot get shared lock on database
rpmQuery: rpmdbOpen()... (2 Replies)
Hi guys,
I was wondering if you could help me out with a query I had. Is there a query to identify the total processor core count of the physical AIX box from which I am running 4 LPARs. I have run the lscfg, lparstat-i and lsdev -Cc processor commands however they just show me the cores... (9 Replies)
Discussion started by: OsmosisJones
9 Replies
LEARN ABOUT CENTOS
filebench
filebench(1) USER COMMANDS filebench(1)NAME
filebench - interprets WML script and generates appropriate filesystem workload
SYNOPSIS
filebench [-f <filename>] [-h]
DESCRIPTION
Filebench is a file system and storage benchmark that allows to generate a large variety of workloads. Unlike typical benchmarks it is very
flexible and allows to minutely specify (any) applications' behaviour using extensive Workload Model Language (WML). Filebench uses load-
able workload personalities to allow easy emulation of complex applications (e.g., mail, web, file, and database servers). Filebench is
quick to set up and easy to use compared to deploying real applications. It is also a handy tool for micro-benchmarking.
Filebench includes many features to facilitate file system benchmarking:
o Multiple workload types support via loadable personalities
o Ships with more than 40 pre-defined personalities, including the one that describe mail, web, file, and database servers behaviour
o Easy to add new personalities using reach Workload Model Language (WML)
o Multi-process and multi-thread workload support
o Configurable directory hierarchies with depth, width, and file sizes set to given statistical distributions
o Support of asynchronous I/O and process synchronization primitives
o Integrated statistics for throughput, latency, and CPU cycle counts per system call
OPTIONS -f <filename>
use specified file as an input instead of stdin
-h Display verbose help
EXAMPLES
Run filebench interactively:
$ filebench
Start filebench interactive shell, filebench prompt will appear after that.
filebench> load fileserver
Load fileserver personality using load command.
filebench> set $dir=/mnt
After personality is loaded, tunables of the workload personality can be set. Here we change the benchmark directory to /mnt where
the file system we want to benchmark is presumably mounted.
filebench> run 60
Start workload for 60 seconds. After 60 seconds of the run the statistics is printed and Filebench exits.
Run filebench non-interactively:
filebench -f /usr/share/filebench/workloads/fileserver.f
Run filebench non-interactively, however, you need to add 'run <time>' to the end of the workload personality file before calling
filebench.
EXIT STATUS
0 if OK,
1 if workload file is not found.
REPORTING BUGS
http://sourceforge.net/tracker/?group_id=133644&atid=727883
revision 01 Sep 1, 2011 filebench(1)