Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

56 lines
1.3 KiB
Markdown
Raw Permalink Normal View History

2024-03-01 20:10:28 -06:00
# FAQ
```eval_rst
.. toctree::
:glob:
:maxdepth: 4
```
**1. How do I export profiling data I've already generated using Omniperf?**
In order to interact with the Grafana GUI you must sync data with the MongoDB backend. This interaction is done through ***database*** mode.
Simply pass the directory of your desired workload like so,
```shell
2025-01-02 13:29:47 -08:00
$ omniperf database --import -w <path-to-results> -H <hostname> -u <username> -t <team-name>
2024-03-01 20:10:28 -06:00
```
**2. python ast error: 'Constant' object has no attribute 'kind'**
This comes from a bug in the default astunparse 1.6.3 with python 3.8. Seems good with python 3.7 and 3.9.
Workaround:
```shell
$ pip3 uninstall astunparse
$ pip3 astunparse
```
**3. tabulate doesn't print properly**
Workaround:
```shell
$ export LC_ALL=C.UTF-8
$ export LANG=C.UTF-8
```
**3. How can I SSH Tunnel in MobaXterm?**
1. Open MobaXterm
2. In the top ribbon, select `Tunneling`
![Tunnel Button](images/tunnel_demo1.png)
This pop up will appear
![Pop up](images/tunnel_demo2.png)
3. Press `New SSH tunnel`
![Pop up](images/tunnel_demo3.png)
4. Configure tunnel accordingly
Local clients
- Forwarded Port: [PORT]
2025-01-02 13:29:47 -08:00
2024-03-01 20:10:28 -06:00
Remote Server
- Remote Server: localhost
- Remote Port: [PORT]
2025-01-02 13:29:47 -08:00
2024-03-01 20:10:28 -06:00
SSH Server
- SSH server: Name of the server one is connecting to
- SSH login: Username to login to the server
2025-01-02 13:29:47 -08:00
- SSH port: 22