更新我的 Kubuntu 后,我无法使用nethogs以下命令监控我的网络消耗:
sudo nethogs enp1s0
creating socket failed while establishing local IP - are you root?
Run Code Online (Sandbox Code Playgroud)
$ uname -a
Linux xyz 4.2.0-27-generic #32-Ubuntu SMP Fri Jan 22 04:49:08 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Run Code Online (Sandbox Code Playgroud)
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 15.10
Release: 15.10
Codename: wily
Run Code Online (Sandbox Code Playgroud)
$ nethogs -V
version 0.8.0
Run Code Online (Sandbox Code Playgroud) 当我试图监控我的互联网带宽时 nethogs
$ sudo nethogs eth0
Run Code Online (Sandbox Code Playgroud)
我收到以下错误:
ioctl failed while establishing local IP for selected device eth0.
You may specify the device on the command line.
Run Code Online (Sandbox Code Playgroud)
这是输出sudo ip addr:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN qlen1000 link/ether 20:6a:8a:5d:5d:1c brd ff:ff:ff:ff:ff:ff
3: usb0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1400 qdisc pfifo_fast state UNKNOWNqlen …Run Code Online (Sandbox Code Playgroud) 我正在尝试从基于C 实现的切换gulp-ruby-sass到比经典 Ruby 版本更快的版本。node-sasslibsass
到目前为止,我已经安装了节点包:
cd /path/to/project
npm install --save-dev node-sass gulp-sass
Run Code Online (Sandbox Code Playgroud)
我将要求替换如下:
//sass = require('gulp-ruby-sass'),
sass = require('gulp-sass'),
Run Code Online (Sandbox Code Playgroud)
然后我去找了一个libsass包裹,但目前没有可用的。
所以我想知道是否有人作为 bash 脚本来构建它作为当前指令不清楚?
我正在使用 Pycharm 以法语和英语开发项目,我的整个系统都是en_US.UTF-8基于的,我的Pycharm.
在浏览了拼写检查的Pycharm 文档后,我将hunspell字典目录添加到Pycharm并仅保留:
/usr/share/hunspell/fr_FR.dic
/usr/share/hunspell/en_US.dic
Run Code Online (Sandbox Code Playgroud)
这对拼写检查器没有影响。
Pycharm 和其他 Jetbrains 产品是否支持 hunspell.dic格式?