# Topbeat doesn't work in unix machine

**URL:** <https://discuss.elastic.co/t/topbeat-doesnt-work-in-unix-machine/33507>\
**Category:** Beats\
**Created:** [November 2, 2015, 11:20am UTC](https://discuss.elastic.co/t/topbeat-doesnt-work-in-unix-machine/33507 "2015-11-02T11:20:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mdaoor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mdaoor/32/12709_2.png) [@mdaoor](https://discuss.elastic.co/u/mdaoor)\
**Post date:** [November 2, 2015, 11:20am UTC](https://discuss.elastic.co/t/topbeat-doesnt-work-in-unix-machine/33507/1 "2015-11-02T11:20:24Z")

</div>

i've a linux machine that has elasticsearch and kibana installed on it ,and unix machine that has topbeat installed on it , i tried to run the topbeat but with no luck

-bash: ./topbeat: Invalid argument

i tried all below  
-./topbeat -e -c topbeat.yml  
./topbeat  
./topbeat -e -c topbeat.yml -d "publish"  
event this command ./topbeat -h 😄

my machine : 5.10 Generic\_150400-17 sun4v sparc sun4v

---

<div class="post-metadata">

**Author:** ![steffens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steffens/32/79630_2.png) [@steffens](https://discuss.elastic.co/u/steffens)\
**Post date:** [November 2, 2015, 11:49am UTC](https://discuss.elastic.co/t/topbeat-doesnt-work-in-unix-machine/33507/2 "2015-11-02T11:49:49Z")

</div>

how did you install topbeat? sparc doesn't seem to be supported by the go compiler.

topbeat uses OS specific methods to collect top-like data. I don't think solaris is in the list (source here: [https://github.com/elastic/gosigar](https://github.com/elastic/gosigar))

---

<div class="post-metadata">

**Author:** ![Thorsten\_Nickel](https://avatars.discourse-cdn.com/v4/letter/t/3be4f8/32.png) [@Thorsten\_Nickel](https://discuss.elastic.co/u/Thorsten_Nickel)\
**Post date:** [November 3, 2015, 8:00am UTC](https://discuss.elastic.co/t/topbeat-doesnt-work-in-unix-machine/33507/3 "2015-11-03T08:00:40Z")

</div>

Hi together,

I am kind staying in front of the same problem. Thing is, all the \*Beats programms need GO as underlying language. And GO itself is, from what i found out on the internet, not supported for the SPARC architecture on Solaris boxes. It will work on the OpenSolaris flavour, with underlying x86\_64 CPU, but, as I said, not for SPARC.  
Hence I was not able to get any GO-related programs running on SPARC.

Hope to help,  
Thorsten

---

<div class="post-metadata">

**Author:** ![steffens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steffens/32/79630_2.png) [@steffens](https://discuss.elastic.co/u/steffens)\
**Post date:** [November 3, 2015, 3:18pm UTC](https://discuss.elastic.co/t/topbeat-doesnt-work-in-unix-machine/33507/4 "2015-11-03T15:18:13Z")

</div>

maybe gccgo (most recent is said to be compatible to go 1.4.2, but beats currently requires 1.5.1) or llgo can be used for cross compiling. But only gccgo seems to support SPARC nowadays.

The go compiler seems to move towards SSA-based intermediate representation (used by llgo translating go compiler SSA to llvm SSA?) + there seems to be some interest on having MIPS supported ([https://groups.google.com/forum/#!topic/golang-dev/vNboccLL95c](https://groups.google.com/forum/#!topic/golang-dev/vNboccLL95c)), but no idea about SPARC support.

Still topbeat uses OS specific methods to collect stats, but I can't find any Solaris in here.

---

<div class="post-metadata">

**Author:** ![mdaoor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mdaoor/32/12709_2.png) [@mdaoor](https://discuss.elastic.co/u/mdaoor)\
**Post date:** [November 6, 2015, 5:25am UTC](https://discuss.elastic.co/t/topbeat-doesnt-work-in-unix-machine/33507/5 "2015-11-06T05:25:34Z")

</div>

i just decompress the package  
thank you

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 9:58pm UTC](https://discuss.elastic.co/t/topbeat-doesnt-work-in-unix-machine/33507/6 "2017-07-05T21:58:25Z")

</div>


