Code Monkey home page Code Monkey logo

lnxutils's Introduction

FOSSA Status

LINUX UTILITIES - lnxutils

Version 1.0 Release date 02/Feb/2015

  • nfs_stale_handle_check.sh (new script)
  • umount_stale_nfs_fs.sh (new script)

Version 2.0 Release date 14/Feb/2017

  • lnx-network-healthcheck.sh (new script)
  • show_locked_users.sh (new script)

Version 2.1 Release date 29/Jan/2020

  • nfs_stale_handle_check.sh is now pure bash
  • nfs_stale_handle_check.sh - older script became nfs_stale_handle_check.ksh (still works on other UNIXes)

Version 2.3 Release date 21/Mar/2020

  • umount_stale_nfs_fs.sh - redirect stderr to stdout for the stale nfs check

Version 2.4 Release date 04/Apr/2022

  • NBU_route_test.sh

Version 2.5 Release date 06/May/2022

  • NBU_route_test.sh - better error catching

Version 2.6 Release date 25/Nov/2022

  • nfs_stale_handle_check.sh - add tier and company to subject line of mail (if present)

License

FOSSA Status

lnxutils's People

Contributors

fossabot avatar gdha avatar renovate[bot] avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

fossabot

lnxutils's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

This repository currently has no open or pending branches.

Detected dependencies

None detected


  • Check this box to trigger a request for Renovate to run again on this repository

umount_stale_nfs_fs script is not umounting stale nfs mount points

#-> /opt/ncsbin/lnxutils/nfs_stale_handle_check.sh
df: ‘/app/tdrive’: Stale file handle
df: ‘/app/tdrive’: Stale file handle

#-> bash -x /opt/ncsbin/lnxutils/umount_stale_nfs_fs.sh
+ Stale_nfs_script=/opt/ncsbin/lnxutils/nfs_stale_handle_check.sh
+ PATH=/usr/xpg4/bin:/usr/bin:/usr/ucb:/bin:/usr/local/bin:/usr/sbin:/sbin:/opt/ncsbin/lnxutils:./bin
+ PROGRAM=/opt/ncsbin/lnxutils/umount_stale_nfs_fs.sh
++ basename /opt/ncsbin/lnxutils/umount_stale_nfs_fs.sh
+ PRGNAME=umount_stale_nfs_fs.sh
+ DEBUG=
+ mailusr=
++ date +%Y%m%d-%H:%M
+ LOGFILE=/var/tmp/umount_stale_nfs_fs-20200321-09:42.log
+ _whoami
++ whoami
+ '[' root '!=' root ']'
+ getopts :m:dhv opt
+ tee /var/tmp/umount_stale_nfs_fs-20200321-09:42.log
+ case $(uname -s) in
++ uname -s
+ umount_stale_nfs_on_linux
+ /opt/ncsbin/lnxutils/nfs_stale_handle_check.sh
+ read LINE
df: ‘/app/tdrive’: Stale file handle
df: ‘/app/tdrive’: Stale file handle
+ [[ ! -z '' ]]

Due to the changes made in the nfs_stale_handle_check.sh script the output is not picked up in the /opt/ncsbin/lnxutils/umount_stale_nfs_fs.sh script.

lnxutils rpm gave an error with update

Error: Package: lnxutils-2.0-1.el7.x86_64 (installed)
           Requires: /usr/bin/ksh
           Removing: ksh-20120801-22.el7_1.2.x86_64 (@RHEL7.2-base-x86_64)
               Not found
           Updated By: ksh-20120801-22.el7_1.3.x86_64 (RHEL7.2-GPB-Nov-2016)
               Not found
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.