Skip to content

Commit

Permalink
Added: template for success stories (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
strizhechenko authored Jul 18, 2017
1 parent 8390f08 commit cf0b094
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ If directory already exists and your scenario differs - add `_1` or `_2` suffix.

For example: `netutils-linux/examples/sockets_2_cpus_8_nic_4/`

Add a README.md based on [README.tmplt.md](https://github.com/strizhechenko/netutils-linux/tree/master/examples)
Add a README.md based on [README.tmplt.md](https://github.com/strizhechenko/netutils-linux/tree/master/examples) (replace commands with their output).

```
git status
Expand Down
36 changes: 36 additions & 0 deletions examples/README.tmplt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# lscpu

``` shell
lscpu
```

``` shell
lscpu -p
```

# ethtool

``` shell

devices=( eth1 eth2 eth3 )
for dev in "${devices[@]}"; do
echo "## $dev"
ethtool -i $dev
ethtool -g $dev
ethtool -l $dev
done
```

# before and after

before tuning:

```
network-top --no-clear -n 1
```

after tuning:

```
network-top --no-clear -n 1
```

0 comments on commit cf0b094

Please sign in to comment.