Centos7下的systemd管理
systemd 简介 Systemd 是由红帽公司的一名叫做 Lennart Poettering 的员工开发, systemd 是 linux 系统中最新的初始化系统( init ) , 它主要的设计目的是克服 Sys V 固有的缺点,提高系统的启动速度, systemd 和 upstart 是竞争对手, ubantu 上使用的是 upstart 的启动方式, centos7 上使用...
View ArticleAWK
GNU awk 全称:Aho,Weiberger,Kernighan,是三个作者的名字,所以简称为awk awk:报告生成器,主要用来格式化文本输出的,它能够实现在处理文本文件时对文档中的字段有条件的显示,而且将显示的结果用非常美观的文本形式给予输出。我们所用的awk其实就是gawk,他是一个符号链接指向gawk的。 gawk pattern scanning and processing...
View Article4 command-line graphics tools for Linux
Images and the command line. They seem an unlikely pair, don't they? There are people who'll tell you that the only way you can manipulate and view graphics is with GUI applications like GIMP. For the...
View ArticleThe three clocks
A clock consists of a starting point and a time tick. C++ offers with std::chrono::system_clock , std::chrono::steady_clock, and std::chrono::high_resolution_clock three clocks. The clocks Because of...
View ArticleOpvizor Performance Analyzer: Part 7 Performance in real time for Debian Linu...
“linux tuning information is scattered among many hundreds of sites, each with a little bit of knowledge. Virtual machine tuning information is equally scattered about. This is my attempt at indexing...
View Article趣味Linux命令
趣味linux命令 一点号云汉电子社区昨天 1. sl 命令 sl是指“steam locomotive(蒸汽机车)”,你会看到一辆火车从屏幕右边开往左边。。。。。。 安装 $ sudo apt-get install sl运行 $ sl php?url=0EWFK4uHF9" alt="趣味Linux命令"...
View ArticleOpenwrt中利用iptables实现流量监控和portal的原理
openwrt上需要开发一些功能,中间用到的一些iptables相关的知识的整理,希望对需要实现wifi portal功能或者是流量监控的朋友可以有些启发 流量监控 针对每个mac来统计流量的使用情况,如果需求是统计每天的总流量这种,还需要对每次取得的结果进行持久化。可以参考 wrtbwmon 这个脚本来做数据收集。 openwrt监控某个ip添加一个新的iptables chainiptables...
View ArticleRevive Your Old PC With Lightweight Linux LXLE
Over time computers get slow. They clog up with things like temporary files, internet history and thegeneral data that your computer needs to run. Not only that, but applications and operating systems...
View ArticleOpenResty查询Linux VPS主机流量
事情是这样的,我买了vps,每个月流量不是很多,我就想看看用了多少流量。但是我又不想去主机的后台查,我还不想用那些监控软件,优点小题大做了,于是我就想弄个脚本,然后openresty读出来,我没事看眼。 获取流量数据 vps的操作系统是Centos6,用shell命令或者是读取某个文件获取 可以读下面两个文件,venet0是网卡名 [root@CT1391 ~]# cat...
View Article移植U-boot_2016.09到JZ2440开发板
一.下载源码: U-Boot源代码下载地址 http://www.linuxidc.com/Linux/2011-07/38897.htm 二.初始化编译: ①make smdk2410_defconfig #首先使用默认配置,减少后续的配置工作 ②make menuconfig #根据自身需求进一步配置 ③修改Makefile ,开头只能架构和编译器: ARCH=arm...
View ArticleMake Ubuntu Speak The Time On The Hour, Every Hour
Do you want to heara gentle vocal reminder that yet another hour has ebbed away? Sometimes I do. A simple voice that speaksto tell me the time is a handy, and passive, way to help keepmyself focused...
View Articleripgrep is faster than {grep, ag, Git grep, ucg, pt, sift}
In this article I will introduce a new command line search tool, ripgrep , that combines the usability of The Silver Searcher (an ack clone) with the raw performance of GNU grep. ripgrep is fast,...
View ArticleLinux主机上使用交叉编译移植u-boot到树莓派
linux主机上使用交叉编译移植u-boot到树莓派 1小时前来源:cnblogs 0环境 Linux主机OS:Ubuntu14.04 64位,运行在wmware workstation 10虚拟机 树莓派版本:raspberry pi 2 B型. 树莓派OS: Debian JessieRaspbian Jessie 1树莓派的启动过程...
View ArticleCanonical携手WD共同推出云储存盒子Nextcloud Box
访问: Nextcloud Box Canonical的硬件营销负责人Thibaut Rouffineau表示:“Nextcloud Box包含机械硬盘和保护套,能够兼容树莓派2等类似的信用卡大小的微型计算机。这个准系统易于使用的平台能够处理文件储存并进行同步和通讯等,并不需要特殊的维护,用户可以通过安装Spreed, OpenHab和Collabora...
View ArticleUbuntu Tablet Running OTA-13 [Video]
Ubuntu OTA-13 rolled out earlier this week with some nifty new features in tow. Among the changes is(long overdue) support for copy and pasting between native Ubuntu Touchapps andold-skool legacy...
View Articleshpub - micropub client for the shell - Christian Weiske
Over the last weeks I have been working onshpub, a Micropub client for the shell. It allows you to publish blog posts, replies/coments and likes from the shell or programmatically. I wrote it because...
View ArticleHow to install PHP 5.6 as additional PHP-FPM & FastCGI for ISPConfig 3.1...
This tutorial shows how to build php 5.6 as a PHP-FPM and a FastCGI version on Ubuntu 16.04 (Xenial Xerus). Ubuntu 16.04 ships with PHP 7 by default but there are still many websites out there that...
View ArticleopenSUSE Tumbleweed Review of the Weeks 2016/38
Dear Tumbleweed users and hackers, Another week comes to an end and what a week this was for Tumbleweed! A full set of 5 snapshots (0914, 0916, 0917, 0920 and 0921) has been released, with some much...
View ArticleLinux进程与计划任务
linux进程与计划任务 linux进程及作业管理 进程 内核的功用:进程管理、文件系统、网络功能、内存管理、驱动程序、安全功能等特权操作 模式切换(理想状态):70%CPU时间用户模式+30%CPU时间内核模式...
View ArticleA Lightweight IoT Command and Control Pattern
Many hobbyist IoT projects running on the Raspberry Pi (RPi) require a webserver running on the RPi which receives requests from a browser, where the client using the browser is connected either to...
View Article