Giter Site home page Giter Site logo

archey-osx's Introduction

Archey for OS X

An archey script for OS X.

Usage

sudo cp archey /usr/local/bin/archey
alias mba="archey" # optional

这个项目,你可以学到:

  1. shell编程
  2. 了解Unix的基本命令
  3. 字符过滤和提取,grep和awk
  4. alias别名

设置了以下参数:

  • 用户名
  • 设备
  • 系统
  • 显示器
  • 芯片
  • 架构
  • 内存
  • 磁盘空间
  • 电池健康度 循环次数
  • 命令行数量
  • 日期
  • 时间

可以按个人喜好修改

效果如下:

                 ###               User: zyq
               ####                Device: MacBook Air
               ###                 System: macOS 14.1.1
       #######    #######          Display: 2560 x 1600 Retina
     ######################        Chip: Apple M1
    #####################          Arch: arm64
    ####################           Memory: Hynix LPDDR4 8 GB
    ####################           Disk: Avali: 21G Total: 245G
    #####################          Battery: Heal:97% Cycle: 142
     ######################        Command: 4270
      ####################         Uptime: 19小时24分钟
        ################           Date: 2023-11-30 星期四
         ####     #####            Time: 15:56:24

archey-osx's People

Contributors

docwhat avatar lindskogen avatar ellimist avatar yongqiangzheng avatar childnode avatar alenbasic avatar sashkab avatar onlythefinestwilldo avatar andrewsb avatar meowgorithm avatar ramlev avatar hkmix avatar jrtc27 avatar kevinmarty avatar lucsky avatar rdlugosz avatar slauber avatar vishvish avatar rodrigozhou avatar slice27 avatar clawfire avatar zx8 avatar

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.