libgtop on Solaris 10

Monday, Jul 25. 2005  –  Category: Code, OpenSolaris, OpenSource

If you are trying to compile libgtop on Solaris 10, you will notice that a bunch of the sysdeps/solaris files won’t compile, specifically sem_limits.c, shm_limits.c, and msg_limits.c. You’ll probably see errours about shminfo, etc. etc.

This is because many of these interfaces were unstable and obsoleted in Solaris 10 in favour of the (much better) rctladm interfaces. In short, you can get use getrctl to get those interfaces now.

You can read some forum msgs on dbForums regarding it.

or look at the Solaris 10 Tunable Parameters Reference Manual for a complete list of what was obsoleted.

I’ve made a patch to libgtop-2.8.3 which should fix this (it does for me, anyway). As usual - this is not an official Sun-endorsed patch in any way, form, shape, blah blah blah. Your mileage may vary.

Leave a Reply

Comments will be sent to the moderation queue.


Recent posts