Comments (6)
@bakeiro: If you're willing to try another terminal emulator, I've had pretty good luck using Windows Terminal with Courier New or Consolas (the font used by the default Ubuntu terminal). Aside from bar charts, everything looks fine in cmder (takes a little more setup to get WSL working) if you can't use Windows Terminal.
Here's a screenshot of Sampler running in Windows Terminal with Courier New:
from sampler.
Hi @bakeiro,
Could you please attach a screenshot and you config file?
Thank you.
from sampler.
Sure!
img: https://imgur.com/a/QiUrVD3
config (it's your example config, so I guess has nothing to do but here it is)
Config
runcharts:
- title: Search engine response time
rate-ms: 500 # sampling rate, default = 1000
scale: 2 # number of digits after sample decimal point, default = 1
legend:
enabled: true # enables item labels, default = true
details: false # enables item statistics: cur/min/max/dlt values, default $ items:- label: GOOGLE
sample: curl -o /dev/null -s -w '%{time_total}' https://www.google.com
color: 178 # 8-bit color number, default one is chosen from a pre-defi$ - label: YAHOO
sample: curl -o /dev/null -s -w '%{time_total}' https://search.yahoo.com - label: BING
sample: curl -o /dev/null -s -w '%{time_total}' https://www.bing.com
- label: GOOGLE
sparklines:
- title: CPU usage
rate-ms: 200
scale: 0
sample: ps -A -o %cpu | awk '{s+=$1} END {print s}' - title: Free memory pages
rate-ms: 200
scale: 0
sample: memory_pressure | grep 'Pages free' | awk '{print $3}'
barcharts:
- title: Local network activity
rate-ms: 500 # sampling rate, default = 1000
scale: 0 # number of digits after sample decimal point, default = 1
items:- label: UDP bytes in
sample: nettop -J bytes_in -l 1 -m udp | awk '{sum += $4} END {print sum}' - label: UDP bytes out
sample: nettop -J bytes_out -l 1 -m udp | awk '{sum += $4} END {print sum}' - label: TCP bytes in
sample: nettop -J bytes_in -l 1 -m tcp | awk '{sum += $4} END {print sum}' - label: TCP bytes out
sample: nettop -J bytes_out -l 1 -m tcp | awk '{sum += $4} END {print sum}'
- label: UDP bytes in
from sampler.
Oh, I see what are you talking about.
I'm afraid it's not something we can fix on the Sampler's side. As far as I can see, currently WSL has issues with unicode characters rendering - there is no font-fallback support there.
microsoft/terminal#306
microsoft/terminal#190
Since font-fallback is not available, you might still have a font which supports currently used characters, you can try to find it manually
from sampler.
Closing, since the solution is found and we can't see how it can be fixed on Sampler's side
from sampler.
Closing, since the solution is found and we can't see how it can be fixed on Sampler's side
Thanks for the answer. I checked some more system on WSL everything repeats . May report to https://github.com/microsoft/WSL/issues ?
from sampler.
Related Issues (20)
- Sampler freezes after spawing a lot of processes (on server)
- Feature request: Dynamic items or Dictionnary items
- Variables unavailable in trigger conditions HOT 2
- Why $label rotation in conditions? HOT 3
- Failed to parse a number HOT 1
- Possibility to use deltas between samples
- Macos ssh pty error HOT 8
- Strange behavior on asciiboxes > sample command not well interpreted (bad yaml ?) HOT 1
- :grey_question: Layout question (jq | column) inside textboxes (deal with t ad \t)
- wrong results of sample commands
- Conditional color for textbox
- textbox keeps previous output after getting empty result from jq
- 500th fork!
- Configuration Error Ubuntu 21.10 HOT 1
- how to show two digit number in windows? HOT 1
- Can no longer compile from Source - Missing oto HOT 2
- Vulnerability of dependency "gopkg.in/yaml.v3"
- windows textboxes newline not working
- Paycode
- Cmder: bad link on website HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sampler.