Category Archives: Linux

How to find out the top 10 files/folders in homedir

Many times, a linux user had exceed the disk quota of homedir, so here is a small command to find out the top 10 files/folders that consumed the most in homedir: du -xck ~/.[^.]* |sort -rn |head Note: “~/” – … Continue reading

Posted in Linux | Leave a comment

Matlab – tips and tricks

Would like to ensure all additional MATLAB support packages are installed on the share location: 1. launch matlab as “root” user 2. find out the current support package root (default is homedir: matlabshared.supportpkg.getSupportPackageRoot() 3. set it to a share location: … Continue reading

Posted in IT, Linux, Uncategorized | Tagged , | Leave a comment

cfengine2 segfault – culprit ipv6 in kickstart

I had been troubleshooting cfengine segfault for days and finally found the issues: Network setup in the kickstart %post had enable networking_ipv6, which confuse cfengine It was a broken kickstart since long time ago, and the workaround was rerun “cfagent” … Continue reading

Posted in Linux | Tagged , | Leave a comment

How to plot sysstat (SAR) into a beautiful graph?

In the past, I had been using kSar to quickly plot graphs from sar files that I had collected from the systems, but I would really prefer a system that it can consolidate all the sar reports from various systems … Continue reading

Posted in Linux | Leave a comment

Oh yes! Got the internal workstations to work with internal RH Satellite

After a few weeks of testing and experimenting, finally found out the issue of the setup:some repos were not enable by default Now, I had figure the issue and put the changes into cfengine (yes I know is old school) … Continue reading

Posted in Linux | Leave a comment

Installing CentOS7/RHEL7 from YUMI

It seem like CentOS7/RHEL7 is slightly different from CentOS6/RHEL6, when trying to install from USB with multiple boot images (eg YUMI). CentOS7/RHEL7 require “inst.stage2″^^1 to be specific, and the default from the ISO file is “inst.stage2=hd:LABEL=CentOS\x207\x20x86_64” or “inst.stage2=hd:LABEL=RHEL-7.3\x20x86_64”. This will … Continue reading

Posted in Linux | Tagged , , , , , | 10 Comments

Extra kernel option for booting NVMe in Dell Precision T3420

I just got a new Dell Precision T3420 for testing RHEL6 installation on it.I had struggle for a few days as the nvme driver (0.10) that’s in kernel-2.6.32 is unable to handle the Interrupt remapping done by the BIOS, and … Continue reading

Posted in Linux | Tagged , , , , , | Leave a comment